Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old November 23rd 06, 02:12 AM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Nov 2006
Posts: 3
Default Copying worksheet, path/file access error: '\vbxxx.tmp'

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   Report Post  
Old November 23rd 06, 03:27 AM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 35,218
Default Copying worksheet, path/file access error: '\vbxxx.tmp'

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
  #3   Report Post  
Old November 24th 06, 02:46 AM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Nov 2006
Posts: 3
Default Copying worksheet, path/file access error: '\vbxxx.tmp'

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

  #4   Report Post  
Old November 24th 06, 02:59 AM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Nov 2006
Posts: 3
Default Copying worksheet, path/file access error: '\vbxxx.tmp'

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

  #5   Report Post  
Old November 24th 06, 03:16 AM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 35,218
Default Copying worksheet, path/file access error: '\vbxxx.tmp'

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


  #6   Report Post  
Old February 21st 21, 12:33 AM
Junior Member
 
First recorded activity by ExcelBanter: Feb 2021
Posts: 1
Default Path/file access error

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.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking worksheet to Access Tables dan Excel Worksheet Functions 0 August 11th 06 09:58 AM
Sorting and copying data to another worksheet in a workbook. Geo Excel Discussion (Misc queries) 3 June 5th 06 09:58 PM
Copying a Formula which contains a link to another worksheet Shirley Munro Excel Discussion (Misc queries) 4 February 3rd 06 09:06 AM
Error Copying Worksheet Steve King Excel Worksheet Functions 1 April 13th 05 09:49 PM
How do I give all access to one worksheet but not to other worksh. B Fraissinet Excel Worksheet Functions 1 January 12th 05 06:37 AM


All times are GMT +1. The time now is 02:21 PM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright 2004-2021 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017