excel - Pause to run third-party add-on -
i broke macro 2 parts pause , use third-party add-on stock symbol descriptions. tickers don't have descriptions , add-on returns "ntfnd" if case. can find alternate description securities need formulas add-on run identify them. works if run step1 , step2 separately.
sub macro1() application.screenupdating = false call step1 'enters info holdings sheet including ticker symbols application.calculate call step2 'fixes "not found" descriptions application.screenupdating = true end sub i tried calculate function doesn't seem calculate third-party add-on formulas. there way can have macro pause until description formulas have run?
i tried
application.wait (now + timevalue("00:00:05"))
and
if not application.calculationstate = xldone doevents end if
neither worked.
application.wait indeed pause (for 5 sec in case) until next line of code being execute.
this might looking for:
Comments
Post a Comment