+ Reply to Thread
Results 1 to 3 of 3

problem changing file extension on backp

  1. #1
    Registered User
    Join Date
    10-08-2010
    Location
    MK, UK
    MS-Off Ver
    Excel 2003
    Posts
    70

    Cool problem changing file extension on backp

    Hi

    I have a simple peice of code that on closure of one file creates a backup to a different folder, the problem is that when I go to open the backup copy it gives a file extension error.

    What I would like is to save the backup copy as macro free just the data i.e. .xlsx

    Code im using below

    HTML Code: 
    Any help would be great
    Thanks
    David
    Last edited by davidparkes; 12-05-2011 at 07:12 PM. Reason: Solved

  2. #2
    Registered User
    Join Date
    10-08-2010
    Location
    MK, UK
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: problem changing file extension on backp

    Has anyone got any clues ?

  3. #3
    Registered User
    Join Date
    10-08-2010
    Location
    MK, UK
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: problem changing file extension on backp

    Fixed it by changing one line to...job done

    ActiveWorkbook.SaveAs "C:\Users\David - Pure Colour\Desktop\ASINS-feed-folder\ASINS.xlsx", FileFormat:=51

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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