+ Reply to Thread
Results 1 to 5 of 5

Saving .xlsx in a network folder through a .xlsm file

  1. #1
    Registered User
    Join Date
    02-17-2011
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    13

    Saving .xlsx in a network folder through a .xlsm file

    We have an excel (.xls) file with some macros on it. On that excel file there is an option to export the data into a separate excel file and save the same in a network folder. This is working fine in office 2003 but not with 2010.

    We have made all the required code changes such as xlsm, xlsx for the files but the file saving part in the network folder is not working. Getting the below is the error message when we try to save the file.

    None of the below possible reason is true. Because it is working fine in office 2003, with the same user level access to the network folder.

    Microsoft Excel cannot access the file '<File Location>'. There are several possible reasons:

    • The file name or path does not exist.
    • The file is being used by another program.
    • The workbook you are trying to save has the same name as a currently open workbook.


    and happens at the line
    Please Login or Register  to view this content.

    Any help is highly appreciated.

    Thanks
    Jambai

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Saving .xlsx in a network folder through a .xlsm file

    Shot in the dark here, perhaps as simple as:

    Please Login or Register  to view this content.

    Make sure the file isn't being opened as read only.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    02-17-2011
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Saving .xlsx in a network folder through a .xlsm file

    JB,

    If i do that, then the excel file (.xlsx) will not save in the network folder.

    Thanks
    Jambai

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Saving .xlsx in a network folder through a .xlsm file

    Your code does not save to a network folder either. Should you perhaps be using the SAVEAS method?

  5. #5
    Registered User
    Join Date
    02-17-2011
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Saving .xlsx in a network folder through a .xlsm file

    With the same code, It is working fine with office 2003.

    Thank you
    Jambai

+ Reply to Thread

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