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: 1
Default button that opens open dialogs but saves path to sheet


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
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
Opening Excel, Book1 opens, remains open with other workbook open DanieB Excel Discussion (Misc queries) 0 September 3rd 09 08:23 AM
Excel UNC Path opens in Explorer alc8833 Excel Discussion (Misc queries) 0 December 10th 08 03:43 PM
Launching an XL file gives errors for each folder in path, then opens PCLIVE Excel Discussion (Misc queries) 2 December 26th 07 09:11 PM
Excel saves the path of the printer with the document. GD Excel Discussion (Misc queries) 0 October 21st 05 12:48 AM
Add a button to a sheet to open a userform PokerZan Excel Discussion (Misc queries) 1 June 17th 05 11:55 PM


All times are GMT +1. The time now is 04:46 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"