View Single Post
 
Old 03-13-2020, 01:55 AM
pushpi004 pushpi004 is offline Windows 10 Office 2016
Novice
 
Join Date: Feb 2020
Posts: 21
pushpi004 is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Try changing that line to:
Set xlWkBk = .Workbooks.Open(StrWkBkNm, False, True)
I have tried that already..doesn't work..the only way the code works is when I keep the Excel session visible, i.e. .visible=true
Reply With Quote