Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
MaxFrance
 
Posts: n/a
Default Problems Autosaving an excel file/sheet as Text

I am using Excel 2000 with a macro autosaving my results as a text file:

Sheets("Result").Select
Range("A:A").Select
Selection.NumberFormat = "General"
Sheets("Result").Copy
Application.DisplayAlerts = False
ActiveWorkbook.SaveAs Filename:="C:\Classeur3.txt",
FileFormat:=xlTextMSDOS _
, CreateBackup:=False
ActiveWorkbook.Close
Application.DisplayAlerts = True
Sheets("Base").Select
Range("A1").Select

I am creating the file for an interface to another system. If I do the copy;
paste and save manually the text file is perfect, if however I let the macro
run as above I receive a file with most of the lines opened and closed by
quotation marks! Can anyone help, I am at a loss for what to do!?
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 to convert Excel imported numbers from text to numbers? Alden Excel Discussion (Misc queries) 9 April 1st 05 09:51 PM
how do I enable "import text file" excel 2002? jw_schmid Excel Discussion (Misc queries) 2 February 9th 05 10:39 PM
Excel IF function for text BarnyardJoe Excel Worksheet Functions 2 December 10th 04 04:11 PM
Importing text files into Excel Christopher Anderson Excel Discussion (Misc queries) 2 December 4th 04 05:57 PM
Parsing text in Excel Jack Edwards Excel Worksheet Functions 3 November 4th 04 03:54 PM


All times are GMT +1. The time now is 12:56 PM.

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"