Hi,
I neede some help with this: I have a plan.xls and I need to save thie in this directory "e:\temp" and the name of file to save is wrote in a cell F6.
Sub Save
Dim name as string
Name = Worksheets("Example"
.Range("F" & 6).Value
ActiveWorkbook.SaveAs Filename:="e:\tmp\NAME"
End Sub
But the variable NAME ins't recognized. I have in e:\temp a file named NAME.XLS, inside for example DOOR thats is in cell F6.
Someone could help me ???
Thanks a lot
I neede some help with this: I have a plan.xls and I need to save thie in this directory "e:\temp" and the name of file to save is wrote in a cell F6.
Sub Save
Dim name as string
Name = Worksheets("Example"
ActiveWorkbook.SaveAs Filename:="e:\tmp\NAME"
End Sub
But the variable NAME ins't recognized. I have in e:\temp a file named NAME.XLS, inside for example DOOR thats is in cell F6.
Someone could help me ???
Thanks a lot