How to rename a xls file

M

Mei Qin

Hello,

I use the command DoCmd.TransferSpreadsheeta to create a
xls file in the code. I need to rename it, because I need
to add the timestamp at the end of the process. I tried
the command Docmd.Rename. But since xls file is not in the
list of its objecttype, I got the error. What is the
right way to rename a xls file.

Thanks for any help!

Mei
 

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

Top