Results 1 to 5 of 5

Save As error

Threaded View

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,977

    Save As error

    Just switched from 2003 to 2010. The following is my tried and true code for 2003:
    ActiveWorkbook.SaveAs FileName:= _
                              "\\12AUST1001FS01\SHARE10011\Budget\SOBUDGET\CPS\Reports\Budget Monitoring Tool\Todays Contracts.xls", _
                              FileFormat:=xlNormal, Password:="", WriteResPassword:="", _
                              ReadOnlyRecommended:=False, CreateBackup:=False
    It's failing when I run my macro in a 2010 workbook, saying "Can't Access "Todays Contracts.xls"

    Based on Ron's tips here http://www.rondebruin.nl/saveas.htm I tried to change it like this:
    ActiveWorkbook.SaveAs FileName:= _
                              "\\12AUST1001FS01\SHARE10011\Budget\SOBUDGET\CPS\Reports\Budget Monitoring Tool\Todays Contracts.xls", _
                              FileFormat:=56, Password:="", WriteResPassword:="", _
                              ReadOnlyRecommended:=False, CreateBackup:=False
    But this also failed. What am I doing wrong?
    Last edited by jomili; 03-05-2012 at 05:47 PM.

Thread Information

Users Browsing this Thread

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

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