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 Opening files with a input box


Hi,

Right now I have

ChDir _
"\\scdff001\pdrive\REMARKETING\Weekl
Reports\LM273(AgingOfInv)\Text Files"
Workbooks.OpenText Filename:= _
"\\scdff001\pdrive\REMARKETING\Weekl
Reports\LM273(AgingOfInv)\Text Files\LM273 111304.TXT" & "" _
, Origin:=xlWindows, StartRow:=1, DataType:=xlFixedWidth
FieldInfo:= _
Array(Array(0, 1), Array(13, 1), Array(15, 1), Array(29, 1)
Array(46, 9), Array(64, 1), _
Array(66, 1), Array(76, 9), Array(128, 1))
TrailingMinusNumbers:=True

That imports a text file and arranges them in a rows and delete
information I dont want.

What I want to do is modfiy the file name with a input box.

How would I do that.

Thanks,
m

--
mk38
-----------------------------------------------------------------------
mk389's Profile: http://www.excelforum.com/member.php...fo&userid=1527
View this thread: http://www.excelforum.com/showthread.php?threadid=31881

 
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
show most recent files first when opening excel files Anne` Excel Discussion (Misc queries) 5 January 23rd 08 01:54 AM
Opening Quattro Pro for Windows files (*.WB1 Files) using Excel 20 PoundMutt Excel Discussion (Misc queries) 1 June 20th 07 03:50 AM
How can I view files chronologically when opening multiple files Stevilsize Excel Discussion (Misc queries) 3 July 26th 05 12:49 AM
Opening a file through input of first 3 digits Just4fun Excel Programming 23 June 26th 04 09:16 PM
Opening a text file for input [email protected] Excel Programming 5 January 8th 04 05:11 AM


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