473,320 Members | 1,991 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

filecopy error 53 in Access VBA

How do I get round error 53 in Access VBA (Windows 7) which occurs with any file instruction - filecopy, dir, shell? I simply want to backup selected folders from My Documents to a memory stick.
Dec 15 '12 #1
2 3182
NeoPa
32,556 Expert Mod 16PB
I see you've edited this to add relevant information Robert (Had that not been clear I would simply have deleted the thread outright), but it's still short of the bare necessities.

Could we see the error message and some code (properly posted - doesn't need to be any more than a line sometimes.) to illustrate exactly what was being attempted that triggered the code. Also the version of Access is often required (though is unlikely to prove critical in this case I would guess).

Anything else that may effect the situation is also worth including, and the O/S version was a good idea to include of course :-)
Dec 15 '12 #2
zmbd
5,501 Expert Mod 4TB
No disrepect for Neopa (he's my teacher :) )

However, before posting your code please wait until you have done the following:

1) Make sure the following two lines are at the top of the module that contains your code. Doesn't matter if it's a form, class, or standard module. Insert these two lines as very first two lines if missing:
Expand|Select|Wrap|Line Numbers
  1. Option Compare Database
  2. Option Explicit
2) In the vba editor, debug, compile. Fix any errors that appear. Repeat this step until no errors occur.

3) Double check that you have list/read/write/modify rights to the source directory and the destination directory.

Once you have completed 1 and 2 and verified 3 try running your code. If you are still having issues then please post your code (formatted using the <CODE/> button please) along with the exact number, title, and text of the error.
Dec 15 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Shawn | last post by:
JIT Debugging failed with the following error: Access is denied. JIT Debugging was initiated by the following account 'PLISKEN\ASPNET' I get this messag in a dialog window when I try to open an...
7
by: Martin Strojek | last post by:
Hi, I have the following problem with developing some web site. I use Visual Studio 2003 to build a website. I tried Windows 2003 Server and switched now back to Windows XP with PWS but the...
0
by: Costi Stan | last post by:
Hello, I get all the time JIT Debugging failed with the following error: Access is denied. message when trying to my a webservice. MSDN say to add DOMAIN/ASPNET user to Debugging Users. I get...
2
by: bb | last post by:
when using the web deployment project to merge my aspnet assemblies i get an unusual error 'access to path denied' i double checked path looks ok, and gave everyone full perms on the folder and...
1
by: daraboy | last post by:
I have a Web home page which allows the IIS users account IUSR_Svr01 to view the page. Each link on the home page allows access to a sub folder, the access to the sub folder is restricted by the...
7
by: sforsasi | last post by:
Hi, I'm trying a simple code to upload a file to the server. When I click to Upload I get the following error message: Error: Access to the path xxx is denied The folder in which I'm trying...
4
bhing
by: bhing | last post by:
please help me.. i dont really understand whats happening in my server.... i have a website using php... when i try to access it this is the message.... Fatal error: Access denied for user...
2
by: RAG2007 | last post by:
Hi, I'm running an ADP with SQL Server as back end. On a main form, my subform is coming up blank. When I was running as an mdb with no back end I didn't have this problem. I get an error "Syntax...
2
by: =?Utf-8?B?U2hhbQ==?= | last post by:
I am having the error when i execute my .net application i got this error. "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) ". Can anyone help me to resolve this error....
1
guillermobytes
by: guillermobytes | last post by:
im getting an error that i don't understand : Fatal error: Access level to Dumper_Regex_Url::_update() must be protected (as in class Dumper_Regex_Abstract) or weaker in...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.