Hello,
I have several VBA macros that have been working great for years. Recently I've been seeing problems when they call the .Save method. It seems to save the workbook but then also have some kind of catastrophic error where it tries to save the file as a random (only say random because I see no significance to my data) number ie 14F11400 (always ending in 00). It takes several attempts to try and cancel out of the operation and when I finally cancel I find the file in my directory without an extension.
I just 'fixed' this issue on a set of files last night where I opened another workbook using vba, then chose to wb.Save and wb.Close on the 'other' workbook. It would have this same error. I 'fixed' it by moving the wb.Save into the 'other' workbook and calling the Sub from my main workbook. All seems to be working great now. Then this morning this error comes up again on a stand-alone workbook, no other workbooks opened or referenced in the vba.
I'm scratching my head over here. Has anyone seen this before and have a clue on where to look to solve it? It doesn't happen every time and it does happen on multiple computers as it is a stored in a shared location.
Thank you,
I have several VBA macros that have been working great for years. Recently I've been seeing problems when they call the .Save method. It seems to save the workbook but then also have some kind of catastrophic error where it tries to save the file as a random (only say random because I see no significance to my data) number ie 14F11400 (always ending in 00). It takes several attempts to try and cancel out of the operation and when I finally cancel I find the file in my directory without an extension.
I just 'fixed' this issue on a set of files last night where I opened another workbook using vba, then chose to wb.Save and wb.Close on the 'other' workbook. It would have this same error. I 'fixed' it by moving the wb.Save into the 'other' workbook and calling the Sub from my main workbook. All seems to be working great now. Then this morning this error comes up again on a stand-alone workbook, no other workbooks opened or referenced in the vba.
I'm scratching my head over here. Has anyone seen this before and have a clue on where to look to solve it? It doesn't happen every time and it does happen on multiple computers as it is a stored in a shared location.
Thank you,