S
Stapes
Hi
I have copied code from this website and put it on a menu button
"Backup"
http://www.mvps.org/access/api/api0026.htm
However - this line of code will not compile:
Private Declare Function apiSHFileOperation Lib "Shell32.dll" _
Alias "SHFileOperationA" _
(lpFileOp As SHFILEOPSTRUCT) _
As Long
The error says:
Only comments may appear after End Sub, End Function, or End Property
What am I doing wrong?
Stapes
I have copied code from this website and put it on a menu button
"Backup"
http://www.mvps.org/access/api/api0026.htm
However - this line of code will not compile:
Private Declare Function apiSHFileOperation Lib "Shell32.dll" _
Alias "SHFileOperationA" _
(lpFileOp As SHFILEOPSTRUCT) _
As Long
The error says:
Only comments may appear after End Sub, End Function, or End Property
What am I doing wrong?
Stapes