J
Jennifer Robertson
Hello all,
I have a module which creates a new message in outlook and attaches a file.
The database is on my c drive, so I am doing any network functions. I get a
runtime error 462 as per the subject line which does not occur all the time.
The line throwing this error is:
set msg = outlook.Application.CreateItem(olMailItem)
I usually hit debug, stop the code, close the vba editor and click the
button (module) again and it works. Sometimes.
Internet search comes up with saying I have to make sure my network
connection is fine, the remote machine is running etc. But I'm not accessing
the network at all with this code.
Any ideas?
Jen
I have a module which creates a new message in outlook and attaches a file.
The database is on my c drive, so I am doing any network functions. I get a
runtime error 462 as per the subject line which does not occur all the time.
The line throwing this error is:
set msg = outlook.Application.CreateItem(olMailItem)
I usually hit debug, stop the code, close the vba editor and click the
button (module) again and it works. Sometimes.
Internet search comes up with saying I have to make sure my network
connection is fine, the remote machine is running etc. But I'm not accessing
the network at all with this code.
Any ideas?
Jen