Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() drdavidge wrote: hey guys, is there a way i can program a macro to display a box with all the currently opened excel files and sheets? basically i have a macro that will prompt you for a file, open it, and then do some formatting on this file. i have a nother macro for a separate sheet that will do vlookup's on this new (formatted) sheet that is already open, but i dont know how to specify which open sheet to do the vlookups in. i open up the sheet by doing this: MsgBox "Please select the MRP file" mrpFilename = Application.GetOpenFilename("Excel files (*.xls), *.xls") Set mrpBook = Workbooks.Open(mrpFilename) then it does the formatting.. etc. is there an easy way to do this? interesting ideas guys, thanks. im wondering if there may be an easier way to do this since i give the filename i open a variable name for both the filename and the workbook. the book i am opening only contains one sheet. any ideas how to do a vlookup on that? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Word link to open an excel book in a previous determined sheet | Links and Linking in Excel | |||
How to set printer default to select active sheet not whole book | Excel Discussion (Misc queries) | |||
Popup window on open | Excel Discussion (Misc queries) | |||
wud like 2 open the w.book of 12 sheets with my desired sheet? | Excel Worksheet Functions | |||
Open book, check for macros, close book | Excel Programming |