+ Reply to Thread
Results 1 to 3 of 3

VBA code to save a 2013 file opened with 2016

  1. #1
    Registered User
    Join Date
    10-19-2011
    Location
    Barkhamsted, CT
    MS-Off Ver
    Excel 2013
    Posts
    22

    VBA code to save a 2013 file opened with 2016

    Good afternoon all,
    I have an Excel file created in 2013. There are macros in it which save the file automatically when a button is pressed. When the file is open with 2016 and the button is pressed, the macro executes correctly with the exception of the save feature. A message "Cannot access Request Form". At first I just had 'ActiveWorkbook.Save' in the file and after searching online, tried 'ActiveWorkbook.SaveAs Filename:=...' with no luck. It is not a read only file. It only works with 2013. Any help would be appreciated.

    Thank you,
    Ken

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

    Re: VBA code to save a 2013 file opened with 2016

    What is 'Request Form'?

    Is it the workbook you are trying save?

    A form/sheet in the workbook you are trying to save?

    Is it Excel itself generating that message or is it something being generated by code in the workbook?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    10-19-2011
    Location
    Barkhamsted, CT
    MS-Off Ver
    Excel 2013
    Posts
    22

    Re: VBA code to save a 2013 file opened with 2016

    The Request form is a purchase request form workbook. Eash sheet in the workbook represents a different purchase order number. The form opens fine in 2016 and the macros work, except for the part that should save the file, then excel 2016 leaves the cannot access when trying to save. I am fairly certain it has to do with 2016, because I have a different file with groups rows and the 2016 version will not let the user ungroup them, but that's another minor issue I need to solve.

    Thank you for your help,
    Ken

+ 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. 2016 won't ungroup 2013 rows
    By Ken64 in forum Excel General
    Replies: 0
    Last Post: 06-01-2016, 09:39 AM
  2. Marco to save to opened or unopened file
    By mwidner in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-04-2015, 05:27 AM
  3. Replies: 3
    Last Post: 04-24-2015, 08:30 AM
  4. Save as code, which look if a WorkBook already is opened.
    By gnaske in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-30-2014, 01:59 PM
  5. Opening Excel File Crashes. Last opened in 2 windows. 2013
    By bowbalitic in forum Excel General
    Replies: 0
    Last Post: 10-03-2014, 12:08 AM
  6. Replies: 5
    Last Post: 08-01-2014, 02:39 AM
  7. save to same file as opened
    By dmtech in forum Excel General
    Replies: 6
    Last Post: 03-08-2006, 02:30 PM

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