Results 1 to 2 of 2

Saving to txt

Threaded View

  1. #1
    Registered User
    Join Date
    11-24-2015
    Location
    Poland
    MS-Off Ver
    10
    Posts
    75

    Saving to txt

    Hello,

    Currently I'm using the following code to save my sheet to txt:

    ActiveWorkbook.SaveAs filename:="C:\test" & "\" & "test" & Format(Now, "ddmmyyyyhhmmss") & ".txt", FileFormat:=xlCSV, _
            CreateBackup:=False
    The problem is I can't use any macros after executing this code (it becomes txt in Excel too). Is there any workaround for that? I mean that it would export/save the sheet to txt while staying xlsm in Excel.
    Last edited by moomphas; 08-30-2016 at 07:19 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 06-15-2016, 06:24 PM
  2. [SOLVED] How can I force Excel Saving without showing the box saving status? It is getting stuck
    By trizzo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-09-2015, 07:37 AM
  3. Replies: 11
    Last Post: 08-23-2014, 01:28 PM
  4. Replies: 1
    Last Post: 08-14-2014, 09:50 PM
  5. Saving external links without saving data values
    By john@axiomatix in forum Excel General
    Replies: 2
    Last Post: 06-18-2013, 05:58 AM
  6. [SOLVED] Saving worksheet using a macro. Problem is that it is saving more rows than it needs to
    By Kammphoto in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-04-2013, 10:09 AM
  7. Renaming Active.Workbook and saving it without saving Macro
    By Djwill in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-04-2012, 03:09 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1