Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Selection from list with worksheet names

All right, I give up.
I've googled the newsgroups for hours now and found a lot of usefull
stuff on this topic but the problem remains.

The following problem:
A workbook contains a data sheet ("sheet1") with xy-Values and a number
of charts in seperate sheets based on the data.
The idea behind the macro is to add new data series to one of the charts
by selection of new data range from sheet1 (with an InputBox).
This part of the marco works excellent by jumping to the chart with
<Sheets("Chart1").Activate and then add the new series.

Now, I want to give the user the posibility to make a choice to which
chart the new data series is added. Until know this is specified by the
above command and "Chart1" is activated.

I am thinking of a box (like the MsgBox oder InputBox) but with a simple
drop down list with the worksheet names (or better, only the sheets
which are charts), from which the user can select one chart. The
selected chart is then acivated/selected and the code for adding a new
series is executed. I found a lot about "listbox" and "userform" but I
am not very experienced in VBA programming. So, until know this failed.

Any ideas?

Robert

--
Robert van Geldern
Institute of Geology, University of Erlangen
Schlossgarten 5, 91054 Erlangen, Germany

!!= note: no html-mails accepted <=!!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MAKE A LIST OF NAMES FROM REPEATED NAMES IN THE SAME WORKSHEET r.kordahi Excel Discussion (Misc queries) 2 January 3rd 09 08:10 AM
Trying to list tab/worksheet names in a summary worksheet Mich Excel Discussion (Misc queries) 1 February 7th 08 02:07 AM
List of worksheet names tor Excel Discussion (Misc queries) 4 March 20th 07 07:54 PM
Move entire row to another worksheet based on drop list selection Coyote Excel Worksheet Functions 0 February 2nd 07 05:52 PM
limit cell list selection based on the selection of another list lorraine Excel Worksheet Functions 2 December 14th 04 08:17 PM


All times are GMT +1. The time now is 01:12 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"