Good day all
I have a two part problem. Firstly, the following code resides in Procedure B which is Called from Procedure A, and attempts to run code from a workbook that is open, but not ThisWorkbook. The same external procedure is run twice. First successfully with a string of text, then unsuccessfully with a variable that reproduces the same string. On the second attempt to run the external procedure, the program exits Procedure B and falls back to Procedure A with no indication that it has processed the external procedure. The external procedure is little more than a MsgBox.
Please folks; where am I going wrong?
Dim mysub As String Application.Run "ISS_GDC1.xls!v1About.About" mysub = """" & "ISS_GDC1.xls!v1About.About" & """" Application.Run mysub
In the event that it is possible to call an external procedure with a variable; Can arguments be passed in this manner? Can these arguments include arrays? Are there any Gotchas involved?
As ever,