#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro Help


Hello:

I am trying to import a comma delimited file into Excel (it can be int
a new workbook). I have tried to create a Macro to automate the process
When I run my macro excel dumps it all into the A column. It also adds
box type symbole between the columns. Any ideas of what I am doin
wrong, or can this not be done by using macros. The code for the macr
is as follows:

Sub Web_Upload()
'
' Web_Upload Macro
' Macro recorded 10/7/2004 by
'

'
Workbooks.OpenText Filename:="\\Hd1\exceldir\webupload", Origin:=437,

StartRow:=1, DataType:=xlDelimited, TextQualifier:=xlDoubleQuote, _
ConsecutiveDelimiter:=False, Tab:=False, Semicolon:=False, Comma:=Tru
_
, Space:=False, Other:=False, TrailingMinusNumbers:=True
End Sub



Thanks for your help in advance

--
Te_Didd
-----------------------------------------------------------------------
Te_Diddy's Profile: http://www.excelforum.com/member.php...fo&userid=1113
View this thread: http://www.excelforum.com/showthread.php?threadid=26775

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
Macro recorded... tabs & file names changed, macro hangs Steve Excel Worksheet Functions 3 October 30th 09 11:41 AM
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort Gavin Excel Worksheet Functions 0 May 17th 07 01:20 PM
How to end macro on inital active worksheet containing macro button that was clicked Silverhawk1 Excel Programming 2 May 14th 04 03:58 PM
macro to delete entire rows when column A is blank ...a quick macro vikram Excel Programming 4 May 3rd 04 08:45 PM
Start Macro / Stop Macro / Restart Macro Pete[_13_] Excel Programming 2 November 21st 03 05:04 PM


All times are GMT +1. The time now is 10:52 AM.

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"