I have been using the Application.Run for a while but something changed and now it won't work!
The only thing I changed is that I added the same command in another section of the procedure and I tried to use a goto to run this code but it skips the Application.Run without an error. Anybody have any ideas?
The only thing I changed is that I added the same command in another section of the procedure and I tried to use a goto to run this code but it skips the Application.Run without an error. Anybody have any ideas?
Code:
Workbooks.Open Filename:=Range("InclusionTablePath") & _
"\" & Range("InclusionTableFile") ' Open the AT Inclusion Table workbook
Set wbAT = ActiveWorkbook ' Get the properties for the AT Inclusion Table workbook
strTest = wbAT.Name
Application.Run ("'" & strTest & "'!GetNewRequest") 'Update the Attrition Table List
Application.DisplayAlerts = False ' Disable Alerts and Warnings
wbAT.Save ' Save the workbook
wbAT.Close ' Close the workbook
Application.DisplayAlerts = True ' Enable Alerts and Warnings
Last edited: