vb code to save a spreadsheet to file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm stuck....I have one spreadsheet in which there is a form which get
completed by other users. What I would like to do is be able to save this
sheet to a different file using the date to file it under. Also as read only.
Many thanks.
 
ASU,
Did you look at the .SaveAs method ?
MyWB.SaveAs Format(Now(),"YYYYMMDD")

regarding Read Only, use SetAttr.

NickHK
 

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