Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default importing mulitple files

Hello
I am importing five files into one workbook each one a
separate page. Is there a way I can type the file names
into five cells and have a macro open the file names I
typed?

A 1 2
B File Names Test1021.msq
C Test1023.msq
D Data1021.msq
E Data1023.msq
F Test1022.msq

Basically I need to open the five files listed in column
2. Thanks for any help offered.

Heather
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default importing mulitple files

a code like this ?

Workbooks.Open Filename:=ThisWorkbook.Path & "\" & "Myfile1.xls"
Workbooks.Open Filename:=ThisWorkbook.Path & "\" & "Myfile2.xls"

etc....

Bye

"heather" a écrit dans le message de
...
Hello
I am importing five files into one workbook each one a
separate page. Is there a way I can type the file names
into five cells and have a macro open the file names I
typed?

A 1 2
B File Names Test1021.msq
C Test1023.msq
D Data1021.msq
E Data1023.msq
F Test1022.msq

Basically I need to open the five files listed in column
2. Thanks for any help offered.

Heather



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
How can I append multiple sheets from mulitple xls. files. into 1 salem_gladiator Excel Discussion (Misc queries) 1 January 16th 09 11:02 PM
importing data from mulitple files in a directory charles Excel Discussion (Misc queries) 1 October 24th 08 02:04 AM
Importing files stina Excel Discussion (Misc queries) 3 March 29th 06 11:14 AM
Macro to create mulitple files Consulting Joan Excel Discussion (Misc queries) 1 February 8th 06 03:38 AM
Importing CSV files Chris Excel Discussion (Misc queries) 4 June 22nd 05 03:02 PM


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