Sourcefile is a string, so you close it with
[vba]
With Workbooks(sourcefile)
.Save
.Close
End With[/vba]
Hide it after opening it, using the workbook name for the window.
Sourcefile is a string, so you close it with
[vba]
With Workbooks(sourcefile)
.Save
.Close
End With[/vba]
Hide it after opening it, using the workbook name for the window.
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber