cancel
Showing results for 
Search instead for 
Did you mean: 

Excel VBO Run macro async is not working

立晨姚
Level 3
Below is the stage code :

macroNameParam = MacroName
handleParam = Handle      'instance number

threadObject= New System.Threading.Thread(AddressOf RunMacroAsync)
threadObject.Start()

It works for my former employer. But it is not working for my currently employer. It just run over this stage and Macro did not kick off and no error show up.
Any idea what could be the issue?
2 REPLIES 2

立晨姚
Level 3
The code for RunMacroAsync is:

Private Sub RunMacroAsync()
try
GetInstance(handleParam).Run(macroNameParam)
catch ex as exception
end try
End Sub

EVIPUTI
MVP
Just to check are all the Excel add-in/trust/macro settings are the same for both the machines ?
------------------------------ Vipul Tiwari Senior Process Simplification Developer Amazon ------------------------------