Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
aking1987
 
Posts: n/a
Default Reading from a closed file.


Upon opening my spreadsheet the user is greeted with a userform...

They type in a folder name in a txtbox (txtprojno)

then select 1 of 4 options from a combobox (combobox1)

Upon clicking ok, i would like it to use the txtbox entry and combo box
selection as part of the search path....

ie: if they type jim in txtprojno, then the search path will be...

p:/blabla/JIM/filename.FILE

Moving on furthur, they selection from the combobox will also become
part of the search path...

p:/blabla/JIM/Option1/filename.FILE


Now excel knows where to find the file, how can i open it copy a
certain range into my spreadsheet, Without actually having to open the
file?

Many thanks.

Antonio King


--
aking1987
------------------------------------------------------------------------
aking1987's Profile: http://www.excelforum.com/member.php...o&userid=15393
View this thread: http://www.excelforum.com/showthread...hreadid=278302

  #2   Report Post  
 
Posts: n/a
Default

http://www.rondebruin.nl/ado.htm

-----Original Message-----

Upon opening my spreadsheet the user is greeted with a

userform...

They type in a folder name in a txtbox (txtprojno)

then select 1 of 4 options from a combobox (combobox1)

Upon clicking ok, i would like it to use the txtbox entry

and combo box
selection as part of the search path....

ie: if they type jim in txtprojno, then the search path

will be...

p:/blabla/JIM/filename.FILE

Moving on furthur, they selection from the combobox will

also become
part of the search path...

p:/blabla/JIM/Option1/filename.FILE


Now excel knows where to find the file, how can i open it

copy a
certain range into my spreadsheet, Without actually

having to open the
file?

Many thanks.

Antonio King


--
aking1987
----------------------------------------------------------

--------------
aking1987's Profile: http://www.excelforum.com/member.php?

action=getinfo&userid=15393
View this thread:

http://www.excelforum.com/showthread...hreadid=278302

.

Reply
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
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM
File asks to update when no links were created Dave Links and Linking in Excel 1 December 16th 04 08:10 PM
File is locked for Editing by user problem Mirth Excel Discussion (Misc queries) 1 December 3rd 04 04:45 PM
format question when open csv file Jeff Excel Discussion (Misc queries) 1 December 1st 04 06:53 PM
Convert text file to MS_Excel Aqua Flow Excel Discussion (Misc queries) 1 November 30th 04 02:55 AM


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

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

About Us

"It's about Microsoft Excel"