Problem with AppActivate ("Microsoft Excel")
Hi,
I have a worksheet where a Userform appears on worksheet activation. The focus was however remaining on the Userform. To get focus to the worksheet, I was using the command AppActivate ("Microsoft Excel"). This was working fine, till suddenly the "Invalid call" error began appearing. Now I have changed the command to AppActivate (Application.Caption) and it seems to be working fine. However, I am apprehensive that this too may stop working in future. Can anybody help in explaining this behaviour and its cause? Thanks in advance for all the help Regards, Raj PS: The file name remained the same. It is likely that this happened because some macro code was changed. |
All times are GMT +1. The time now is 12:42 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com