![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Location: Jason in Boston MA
Posts: 12
|
I am setting up an automated system that will open a selected textfile, copy a specified range and paste it into a worksheet. My problem for every file selected there are 2 files with similar names that need to be accessed.
Example: 3L3001-pid.isd and 3l3001-fid.isd the only difference between the 2 filenames will always be the p and the f in the name. any ideas? |
|
|
|
|
|
#2 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi ecoscientist
I cannot see what your problem is! Can't you just open each file by it's name? |
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2002
Location: Jason in Boston MA
Posts: 12
|
I am using a variable to identify the first file then I need to be able open the other file.
|
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Post you code.
How are you opening the second file? |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|