+ Reply to Thread
Results 1 to 2 of 2

Run-time error 9 when VBA is saving

  1. #1
    Registered User
    Join Date
    11-11-2013
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    1

    Run-time error 9 when VBA is saving

    We are running a purchase order excel document saved to the public drive. To generate a unique number between different computers it runs a macro to open a separate "source" document, pull the number, then save. This has worked flawlessly for the past 4 weeks, however I am now getting a run-time error 9 and the debug is pointing me to the save changes line. Even though the code has not changed. Anything I can do?

    Please Login or Register  to view this content.
    "Workbooks("PO_Number_Source").Close SaveChanges:=True" is where the debug is pointing me

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: Run-time error 9 when VBA is saving

    Does this work?
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

+ 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. [SOLVED] Run-time error when saving with macro
    By rpinxt in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-02-2013, 06:24 AM
  2. VBA Run Time Error when saving workbook between Users....?
    By slu2383 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 12-28-2012, 04:22 PM
  3. Run Time Error 1004 when saving to a Sharepoint
    By Benbo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-07-2012, 09:46 AM
  4. Run time error (Err=9) when saving file using saveas
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-24-2012, 10:14 AM
  5. Run-Time Error 438 when saving
    By Buk in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-29-2011, 05:48 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