Hi
my macro currently creates a new sheet within another document called Analysis_v3.xlsm and gives it a name of yesterdays date
Workbooks.Open Filename:="filepath Analysis_v3.xlsm"
Sheets.Add After:=ActiveSheet
ActiveSheet.Name = Format(Date - 1, "mm-dd")
however I would like the name of the new created sheet to come from a cell from within the workbook that exports the data.
anyone got any ideas?
my macro currently creates a new sheet within another document called Analysis_v3.xlsm and gives it a name of yesterdays date
Workbooks.Open Filename:="filepath Analysis_v3.xlsm"
Sheets.Add After:=ActiveSheet
ActiveSheet.Name = Format(Date - 1, "mm-dd")
however I would like the name of the new created sheet to come from a cell from within the workbook that exports the data.
anyone got any ideas?