LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old March 8th 05, 12:03 AM
Bob L
Posts: n/a
Default I want to make a Macro that would so I can open a CSV file and it.

Is there anyone out there that can teach me how to do this?

  #2   Report Post  
Old March 8th 05, 01:01 AM
Dave Peterson
Posts: n/a

Sometimes, the best way to learn is to turn the macro recorder on and then do
what you want manually.

Then turn the macro recorder off and look at the code.

Bob L wrote:

Is there anyone out there that can teach me how to do this?


Dave Peterson
  #3   Report Post  
Old March 8th 05, 02:04 AM
Don Guillett
Posts: n/a

If you record a macro while doing you will get something you can boil down
to something like this.

Workbooks.OpenText Filename:=ActiveWorkbook.Path & "\" & [wbtoget],
Origin:=437, _
StartRow:=1, DataType:=xlDelimited, TextQualifier:=xlDoubleQuote, _
ConsecutiveDelimiter:=False, Tab:=False, Semicolon:=False, Comma:=False _
Space:=False, Other:=True, OtherChar:=",", FieldInfo:=Array(Array(1, 1)
, _

Don Guillett
SalesAid Software

"Bob L" <Bob
wrote in message
Is there anyone out there that can teach me how to do this?

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 set up a Macro to automatically run when I open a speci. Rick Martin Excel Discussion (Misc queries) 1 January 13th 05 06:06 PM
Open Access Database under and Excel window using a Macro BMSpell Excel Worksheet Functions 1 January 8th 05 06:32 PM
Make a macro of keystrokes. ie. F2,Shift & Home & right cursor,de. Ted Byrd Excel Worksheet Functions 1 December 29th 04 06:52 PM
Macro or Function to make text size to suite text Length? lbbss Excel Discussion (Misc queries) 4 December 14th 04 08:53 PM
How do I get my personal macro worksheet to open whenever I open . Claudia_R Excel Discussion (Misc queries) 3 December 10th 04 12:59 AM

All times are GMT +1. The time now is 09:21 PM.

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

About Us

"It's about Microsoft Excel"


Copyright © 2017