thescottsman92
Registered User.
- Local time
- Today, 21:28
- Joined
- Sep 2, 2013
- Messages
- 24
Hi
I have a problem in the copyfile function. It says "CompileError - Expected =" and I am not sure if im even setting this correctly. This is my cde:
Dim fso As Object
Set fso = VBA.CreateObject(filesystemobject)
fso.copyfile(me.txtPath,me.txtarchivepath & me.txtnewfile)
I think the problem is the "filesystemobject bit in the code
can anyone please help me
thanks very much
I have a problem in the copyfile function. It says "CompileError - Expected =" and I am not sure if im even setting this correctly. This is my cde:
Dim fso As Object
Set fso = VBA.CreateObject(filesystemobject)
fso.copyfile(me.txtPath,me.txtarchivepath & me.txtnewfile)
I think the problem is the "filesystemobject bit in the code
can anyone please help me
thanks very much