This code suposed to refresh excel workbook and then save it. But the problem is that Save() method is called before RefreshAll() is finished. I don't know how to check if refresh is over :(
Please help me....
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Hirendra SisodiyaRank #258 · 9.8K reputationPosted Apr 12, 2010, 12:39 AM EDT
try this:
WRKBK.RefreshAll();
Application.DoEvents();
WRKBK.Save();
EXL.Quit();
thanks
Please mark as answere if it helps