LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Dynamic worksheet selection using messagebox

On the opening of an excel file with a number of worksheets named as
follows:

FDC
Packs
Covers

I would like the following to occur:

1. A selection list of the current worksheet names (these may
change so I want this to be dynamic) to be displayed in some kind of
message box (radio buttons, listbox,any method would do).

2. On selecting one of these and pressing OK, a Microsoft file
selection window will be displayed ( this is to allow me to pick up a
file of raw data from a folder)

3. When a file is selected and OK is pressed, the sheet selected
will become the selected sheet and I will then perform some sheet
specific code using the raw data to build a report in this worksheet.
I realis this aspect will need to be hardcoded as I will need to
recognise the worksheet selected via VBA code to run the correct code.

I would love any help on this, including any simple example code that
I can tailor.

Thanks

Mark
 
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
Dynamic Range Selection Phil P[_2_] Excel Programming 2 February 9th 09 08:32 PM
Dynamic Range Selection Phil P Excel Programming 2 February 9th 09 08:22 PM
VBA Dynamic Selection AJMorgan591 Excel Programming 2 October 6th 05 12:20 PM
Messagebox: Alert user Worksheet is Unprotected Maria[_6_] Excel Programming 4 November 5th 03 04:34 AM
Dynamic Row Selection Bruce B[_2_] Excel Programming 4 July 14th 03 09:14 PM


All times are GMT +1. The time now is 05:08 AM.

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

About Us

"It's about Microsoft Excel"