Experts...
I am needing some help (Please see below) "All this stuff if confusing for me."
I changed the name of the file and now the Button does not work because it calls the old file name. I know that I can change the Workbook to register the new filename and then reference that new file name, but to no avail.
1. How do I set the VBA Project (Something.xlsm) to automatically update the the name of the file has changed?
1a. Where do I place the code?
2. In Module3: (contains this Macro - used for a button)
Sub Auto_Start_Run()
'
' Auto_Start_Run Macro
'
'
Application.Run "'Weekly Invoices & Receipts (R0).xlsm'!Sheet1.rename_Sheet"
Application.Run "'Weekly Invoices & Receipts (R0).xlsm'!Sheet2.rename_Sheet"
Application.Run "'Weekly Invoices & Receipts (R0).xlsm'!Sheet3.rename_Sheet"
Application.Run "'Weekly Invoices & Receipts (R0).xlsm'!Sheet5.rename_Sheet"
Application.Run "'Weekly Invoices & Receipts (R0).xlsm'!Sheet4.rename_Sheet"
Application.Run "'Weekly Invoices & Receipts (R0).xlsm'!Sheet6.rename_Sheet"
Application.Run "'Weekly Invoices & Receipts (R0).xlsm'!Sheet7.rename_Sheet"
End Sub
How do I make Module3 Macros Call the updated project name?
---Workbook.Active??
I am needing some help (Please see below) "All this stuff if confusing for me."
I changed the name of the file and now the Button does not work because it calls the old file name. I know that I can change the Workbook to register the new filename and then reference that new file name, but to no avail.
1. How do I set the VBA Project (Something.xlsm) to automatically update the the name of the file has changed?
1a. Where do I place the code?
2. In Module3: (contains this Macro - used for a button)
Sub Auto_Start_Run()
'
' Auto_Start_Run Macro
'
'
Application.Run "'Weekly Invoices & Receipts (R0).xlsm'!Sheet1.rename_Sheet"
Application.Run "'Weekly Invoices & Receipts (R0).xlsm'!Sheet2.rename_Sheet"
Application.Run "'Weekly Invoices & Receipts (R0).xlsm'!Sheet3.rename_Sheet"
Application.Run "'Weekly Invoices & Receipts (R0).xlsm'!Sheet5.rename_Sheet"
Application.Run "'Weekly Invoices & Receipts (R0).xlsm'!Sheet4.rename_Sheet"
Application.Run "'Weekly Invoices & Receipts (R0).xlsm'!Sheet6.rename_Sheet"
Application.Run "'Weekly Invoices & Receipts (R0).xlsm'!Sheet7.rename_Sheet"
End Sub
How do I make Module3 Macros Call the updated project name?
---Workbook.Active??