Do you mean, VBA? Visual Basic is NOT the same as Visual Basic for
Applications. VB <> VBA. If you are talking the programming language in
which Excel has and is able to utilize, you're talking VBA. VB is a stand
alone program which is a little more versatile than VBA. A google search
will yield many results.
But if you are asking about VBA, then try the following ...
Sub testingSave()
Thisworkbook.Save
End sub
or..
Sub testingSaveAs()
Thisworkbook.SaveAs "C:\MyWorkbook.xls"
End sub
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.