#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default User_Form's Caller

I have User_Form A, B and C; Both A and B have button to make C show
up. When C is called, how to know it's called by either A or B?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default User_Form's Caller

I'd declare a public variable in a General module and just keep track.

Public WhichCalled as String

then before you show C, you could use:

WhichCalled = "UserformA"



PerlDev wrote:

I have User_Form A, B and C; Both A and B have button to make C show
up. When C is called, how to know it's called by either A or B?


--

Dave Peterson
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
range moves with application caller ME @ Home Excel Discussion (Misc queries) 1 February 20th 06 02:22 PM


All times are GMT +1. The time now is 01:00 PM.

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"