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: 6
Default Reference a workbook chosen by a user from a userform

I am working on a spreadsheet from which a user can choose to import
data from a saved workbook. Once the user has chosen the import
workbook through a file chooser dialog, it is opened and checked for
validity. The user then chooses the subset of the data they want
through a simple userform.

How can I get a reference to the workbook that has been chosen and
opened so that I can act upon it from the userform or the procedure
that calls the userform? There is no code in the import workbook as it
is just raw data.

Is this a place for a global variable?

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
save user inputs from userform in a seperate workbook sam Excel Programming 6 July 16th 09 07:59 AM
Data on UserForm to different sheet based on day of week chosen? JennLee Excel Programming 3 March 6th 07 04:01 PM
VBA: Opening a .txt chosen by the user [email protected] Excel Programming 2 May 17th 06 06:42 AM
problem sharing an excel workbook when my formulas reference user. Waiward Engineer Excel Programming 1 March 1st 05 05:41 PM
User Option to save to chosen destination patterson_m[_4_] Excel Programming 1 October 13th 03 05:41 PM


All times are GMT +1. The time now is 07:45 PM.

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"