Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi, I'm wondering if anyone has ever attempted a similar function to what i'm trying to achieve. I have the problem of having to import a great deal of raw data to a excel file from a number of different workbooks. I have created a nice loop statement and number of subs that complete this requirement. The procedure is driven by having the filenames and there paths located within a sheet in my workbook, i have done it this way because the filenames that i retrieve data from have there names changed in order to maintain an audit trail e.g import_q1, import_q2 etc and i didn't want users messing with hardcoded pathways. I would like to create a button that allows the user to use the applications.dialogs(something) functionality or something similar to find the exact file that holds the information, when they close the dialog then the name is saved in the correct postion on the worksheet, once all files have been updated then the import procedure can be run. I have done something similar that prompted a user to choose whether or not to use a certain path, if they chose vbno then the new file was treated as the correct one and the new filepath was saved on its completion. Setting up the filepaths beforehand would improve the interface and allow thecode to run without interuption. Has anyone completed something like this before and could give me some tips, or come across a post that may point me in right direction? I've had a good look but not found anything yet! thanks -- cereldine ------------------------------------------------------------------------ cereldine's Profile: http://www.excelforum.com/member.php...o&userid=32069 View this thread: http://www.excelforum.com/showthread...hreadid=536745 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Opening Excel, Book1 opens, remains open with other workbook open | Excel Discussion (Misc queries) | |||
Excel UNC Path opens in Explorer | Excel Discussion (Misc queries) | |||
Launching an XL file gives errors for each folder in path, then opens | Excel Discussion (Misc queries) | |||
Excel saves the path of the printer with the document. | Excel Discussion (Misc queries) | |||
Add a button to a sheet to open a userform | Excel Discussion (Misc queries) |