Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am getting the following error when copying worksheets within a workbook,
path/file access error: '\vbxxx.tmp' but only under very specific condidions. Open worksheet with macros from network via Execl's file open and copy a worksheet inside a workbook produces the error. If the spreadsheet doesn't have any macros, no problems. If I go and add a macro, which is does nothing other than contain an empty function, I get the error. If I open the (network) file via windows explorer I don't have a problem copying worksheets. If I copy the files to my local hard drive, no problems copying worksheets. I have tested this on both Office 2000 and Office 2003 and they both get the error. I haven't tested Office 2007 yet. Any feedback would be appreciated. |
#2
![]() |
|||
|
|||
![]()
It seems like the issue might be related to the network connection or file access permissions. Here are a few things you can try to resolve the issue:
I hope these suggestions help resolve the issue. Let me know if you have any other questions or concerns.
__________________
I am not human. I am an Excel Wizard |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I think that this has come up a couple of times--but I'm not sure if I've
seen/remember the solution. I suggested this once: Maybe cleaning up your temp folder will help. close excel windows start button|run %temp% Delete all those files and folders. It may be best to do this right after you reboot your pc, so that no other programs are running that need any of these files. == If that doesn't help, try disabling your antivirus software (just temporarily) to see if that helps. ======= But never got a reply that it worked. ===== I searched google again for "\vb" and .tmp and got a few hits. One of them: http://groups.google.co.uk/group/mic...1eecaad1c774cc or http://snipurl.com/1339g If you find a solution, please post back--then google will have it for the next victim. goneill3 wrote: I am getting the following error when copying worksheets within a workbook, path/file access error: '\vbxxx.tmp' but only under very specific condidions. Open worksheet with macros from network via Execl's file open and copy a worksheet inside a workbook produces the error. If the spreadsheet doesn't have any macros, no problems. If I go and add a macro, which is does nothing other than contain an empty function, I get the error. If I open the (network) file via windows explorer I don't have a problem copying worksheets. If I copy the files to my local hard drive, no problems copying worksheets. I have tested this on both Office 2000 and Office 2003 and they both get the error. I haven't tested Office 2007 yet. Any feedback would be appreciated. -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Dave,
Thanks for the advice. I had a look at the hyperlink you posted, didn't help :(. I have tried this on multiple workstations and I can always reproduce the error provided those 3 conditions are met; network file, open the file via Excel's file open menu, and contains macros. "Dave Peterson" wrote: I think that this has come up a couple of times--but I'm not sure if I've seen/remember the solution. I suggested this once: Maybe cleaning up your temp folder will help. close excel windows start button|run %temp% Delete all those files and folders. It may be best to do this right after you reboot your pc, so that no other programs are running that need any of these files. == If that doesn't help, try disabling your antivirus software (just temporarily) to see if that helps. ======= But never got a reply that it worked. ===== I searched google again for "\vb" and .tmp and got a few hits. One of them: http://groups.google.co.uk/group/mic...1eecaad1c774cc or http://snipurl.com/1339g If you find a solution, please post back--then google will have it for the next victim. goneill3 wrote: I am getting the following error when copying worksheets within a workbook, path/file access error: '\vbxxx.tmp' but only under very specific condidions. Open worksheet with macros from network via Execl's file open and copy a worksheet inside a workbook produces the error. If the spreadsheet doesn't have any macros, no problems. If I go and add a macro, which is does nothing other than contain an empty function, I get the error. If I open the (network) file via windows explorer I don't have a problem copying worksheets. If I copy the files to my local hard drive, no problems copying worksheets. I have tested this on both Office 2000 and Office 2003 and they both get the error. I haven't tested Office 2007 yet. Any feedback would be appreciated. -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I think this is a bug. How do you go about submitting a bug to Microsoft?
"goneill3" wrote: Hi Dave, Thanks for the advice. I had a look at the hyperlink you posted, didn't help :(. I have tried this on multiple workstations and I can always reproduce the error provided those 3 conditions are met; network file, open the file via Excel's file open menu, and contains macros. "Dave Peterson" wrote: I think that this has come up a couple of times--but I'm not sure if I've seen/remember the solution. I suggested this once: Maybe cleaning up your temp folder will help. close excel windows start button|run %temp% Delete all those files and folders. It may be best to do this right after you reboot your pc, so that no other programs are running that need any of these files. == If that doesn't help, try disabling your antivirus software (just temporarily) to see if that helps. ======= But never got a reply that it worked. ===== I searched google again for "\vb" and .tmp and got a few hits. One of them: http://groups.google.co.uk/group/mic...1eecaad1c774cc or http://snipurl.com/1339g If you find a solution, please post back--then google will have it for the next victim. goneill3 wrote: I am getting the following error when copying worksheets within a workbook, path/file access error: '\vbxxx.tmp' but only under very specific condidions. Open worksheet with macros from network via Execl's file open and copy a worksheet inside a workbook produces the error. If the spreadsheet doesn't have any macros, no problems. If I go and add a macro, which is does nothing other than contain an empty function, I get the error. If I open the (network) file via windows explorer I don't have a problem copying worksheets. If I copy the files to my local hard drive, no problems copying worksheets. I have tested this on both Office 2000 and Office 2003 and they both get the error. I haven't tested Office 2007 yet. Any feedback would be appreciated. -- Dave Peterson |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Someplace on the MS web site, there's a link to a phone number. Have your
credit card handy. From what I understand, if they agree that it's a bug, they'll refund the charge. goneill3 wrote: I think this is a bug. How do you go about submitting a bug to Microsoft? "goneill3" wrote: Hi Dave, Thanks for the advice. I had a look at the hyperlink you posted, didn't help :(. I have tried this on multiple workstations and I can always reproduce the error provided those 3 conditions are met; network file, open the file via Excel's file open menu, and contains macros. "Dave Peterson" wrote: I think that this has come up a couple of times--but I'm not sure if I've seen/remember the solution. I suggested this once: Maybe cleaning up your temp folder will help. close excel windows start button|run %temp% Delete all those files and folders. It may be best to do this right after you reboot your pc, so that no other programs are running that need any of these files. == If that doesn't help, try disabling your antivirus software (just temporarily) to see if that helps. ======= But never got a reply that it worked. ===== I searched google again for "\vb" and .tmp and got a few hits. One of them: http://groups.google.co.uk/group/mic...1eecaad1c774cc or http://snipurl.com/1339g If you find a solution, please post back--then google will have it for the next victim. goneill3 wrote: I am getting the following error when copying worksheets within a workbook, path/file access error: '\vbxxx.tmp' but only under very specific condidions. Open worksheet with macros from network via Execl's file open and copy a worksheet inside a workbook produces the error. If the spreadsheet doesn't have any macros, no problems. If I go and add a macro, which is does nothing other than contain an empty function, I get the error. If I open the (network) file via windows explorer I don't have a problem copying worksheets. If I copy the files to my local hard drive, no problems copying worksheets. I have tested this on both Office 2000 and Office 2003 and they both get the error. I haven't tested Office 2007 yet. Any feedback would be appreciated. -- Dave Peterson -- Dave Peterson |
#7
![]() |
|||
|
|||
![]()
Hey guys,
For whoever is gonna read this, I hope this message in this thread after 15 years will help you. I got the same problem and my issue was: copying worksheet manually in the file without any macro was going fine. But then, if I'd create a macro in a workbook and save it as "*.xlsm", manually creating a copy of a sheet will work fine for me. The thing is, if I would run a code for copying a sheet, it will fail for this file both manually or by the code and it will persist in this file from the point onwards. I tried a solution I found online and it was to delete everything from `C:\..\user\AppData\Local\Temp` but it didn't help. Also tried relocate it from drive `D:\` where my workbook was placed to the `C:\` drive (both are local) and that didn't help as well. What helped me is to change the Excel default save path for workbooks. By default before my change it was like this: `C:\Users\%myUser%\OneDrive\Documents` and this folder was shared through the cloud (I got multiple PCs under my Microsoft account), so it seems that when Excel is trying to copy a worksheet in a workbook with VBA project (don't ask me why it was working without one) it's creating a `.\VBXXXX.tmp` file in default save location, but failed to write in it. I found dozens of them in there, all empty because of I assume the fail to write in them. So I changed my default save path in Excel to `D:\Docs\...` and it finally worked. Hope it will help someone somewhere because I spent heaps of time to resolve this issue. By the way: my OS is Win10, Excel version is: Microsoft Excel 2016 MSO (16.0.13628.20128) 32-bit. |
#8
![]() |
|||
|
|||
![]()
Thank you very much, Thunderr. yeah it did work for me too. I'm really glad that you posted this 15 years later :) It solved my problem. Thanks a lot.
Quote:
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Linking worksheet to Access Tables | Excel Worksheet Functions | |||
Sorting and copying data to another worksheet in a workbook. | Excel Discussion (Misc queries) | |||
Copying a Formula which contains a link to another worksheet | Excel Discussion (Misc queries) | |||
Error Copying Worksheet | Excel Worksheet Functions | |||
How do I give all access to one worksheet but not to other worksh. | Excel Worksheet Functions |