docmd.transferspreadsheet

  • Thread starter Thread starter souris
  • Start date Start date
S

souris

Does docmd.tracnsferspreadsheet has option to have overwrite warning
message?
Should I write I own code to verify the file exist?
If I should, which statement I can use?

Any information is great appreciated,


Souris,
 
Answers in-line below.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)



souris said:
Does docmd.tracnsferspreadsheet has option to have overwrite warning
message?
No.

Should I write I own code to verify the file exist?

I always do.
If I should, which statement I can use?

If Len(Dir(strFileName)) > 0 Then
' strFileName exists: delete it
Kill strFileName
End If
 
Thanks millions,

Souris,


Douglas J. Steele said:
Answers in-line below.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)





I always do.


If Len(Dir(strFileName)) > 0 Then
' strFileName exists: delete it
Kill strFileName
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top