Hi.
I would like a macro that closes another spreadsheet at the end of a macro. The sheet always starts with the name 'formdata' but may have different number&letter sequence after the name. So to catch all I want the vba to close the file beginning with 'formdata'
Something like:
Workbooks("formdata.csv").Close SaveChanges:=False
Thanks in advance
I would like a macro that closes another spreadsheet at the end of a macro. The sheet always starts with the name 'formdata' but may have different number&letter sequence after the name. So to catch all I want the vba to close the file beginning with 'formdata'
Something like:
Workbooks("formdata.csv").Close SaveChanges:=False
Thanks in advance