+ Reply to Thread
Results 1 to 1 of 1

Help !Run-time error 1004 - Document not saved - ONLY showing on 32bit windows 7 laptops!!

  1. #1
    Registered User
    Join Date
    04-19-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    87

    Angry Help !Run-time error 1004 - Document not saved - ONLY showing on 32bit windows 7 laptops!!

    i have the following line of code that works on windows 7 64bit machines and also an older windows xp machine

    Please Login or Register  to view this content.
    The savepath function is a simple function that returns the full path and filename that the new document will be saved as and is shown below. All it does is return a string.


    Please Login or Register  to view this content.
    The resulting string is like : L:\Main folder\Operations\files\Report manchester 075BB.xlsx

    L:\ is a network drive and the user is able to create folders and files in the same location where the file is to be saved, so i dont think its a folder permission issue.

    The frustrating thing is that this code runs on Win 7 64bit machines with no problem, but debugs on the saveas line above on 32 bit machines. i have tried adding fileformat option for xlsx files at the end to no avail, even tried setting the new workbook as the activeworkbook before saving but get a similar result.

    Can anyone help with this please?

    thanks
    Last edited by wazimu13; 12-16-2014 at 10:22 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Run-time error 1004 Document not saved....
    By ey_up in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-18-2014, 04:47 AM
  2. Run-time error '1004': Document Not Saved (while using LockXLS)
    By lottidotti in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-25-2013, 12:14 PM
  3. Replies: 4
    Last Post: 06-20-2013, 09:30 AM
  4. Excel 2007 : Run Time Error 1004 - Document not saved
    By Villamankh in forum Excel General
    Replies: 2
    Last Post: 12-17-2010, 09:44 AM
  5. [SOLVED] Run-time error '1004'; Document not saved - intermittent
    By Kerry in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-15-2005, 07:15 PM

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