Excel Visual Basic - Save (As) the document as the details in a cell

  • Thread starter Thread starter Stephen Pepper
  • Start date Start date
S

Stephen Pepper

I am publishing an Excel form on a webpage that is set-up to return to
an email address and would like the workbook to Save As the
information in a particular cell.

I have tried variations of the following with no luck. Can anyone
help please.

ThisWorkbook.SaveAsFileName:=Sheets("Details").Range("K2")
 
ThisWorkbook.SaveAs FileName:=Sheets("Details").Range("K2")

there should be a space between SaveAs and FileName
 
Thanks a mill Tom,

I had spent alot of time trying to resolve the issue before I posted in
on Google. I can't believe I was only missing a space.

Thanks agian,

Stephen
 

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