Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 150
Default 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.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
VBA - The Literal "Microsoft Excel" on the Top" Marcelo Rychter Excel Programming 2 June 3rd 06 12:25 PM
Error msg "Microsoft Excel is waiting for another application to complete an OLE action" JimPNicholls Excel Programming 0 January 16th 04 12:41 PM
"Microsoft Excel has encountered a problem..." Ken Dahlberg Excel Programming 1 July 22nd 03 09:51 PM


All times are GMT +1. The time now is 11:06 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"