HI
Iam using the following code kindly supplied by "Tactps" to display an "input box" in which the the file name is entered.
FileName1 = InputBox("Please input filename", "Filename")
ChDir "c:\"
ActiveWorkbook.SaveAs Filename:="C:\" & FileName1, FileFormat:=xlNormal, _
Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, _
CreateBackup:=False
Instead of manually entering the filename i was hoping to pick the filename up from a cell (G3) so that it would appear in the "input box" purely for visible confirmation which can be OK ed. I have been playing around with the following code adding it to the code above without a glimmer of success.
Activeworkbook.SaveAs Filename:=range("G3").value
Although this line saves the file as "G3" it does so without any visual indication or conformation. Any help to fill the "input box would be much appreciated.
Tryed and failed once again
Diatex
Iam using the following code kindly supplied by "Tactps" to display an "input box" in which the the file name is entered.
FileName1 = InputBox("Please input filename", "Filename")
ChDir "c:\"
ActiveWorkbook.SaveAs Filename:="C:\" & FileName1, FileFormat:=xlNormal, _
Password:="", WriteResPassword:="", ReadOnlyRecommended:=False, _
CreateBackup:=False
Instead of manually entering the filename i was hoping to pick the filename up from a cell (G3) so that it would appear in the "input box" purely for visible confirmation which can be OK ed. I have been playing around with the following code adding it to the code above without a glimmer of success.
Activeworkbook.SaveAs Filename:=range("G3").value
Although this line saves the file as "G3" it does so without any visual indication or conformation. Any help to fill the "input box would be much appreciated.
Tryed and failed once again
Diatex