Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Annie Russell   on Dec 29 In MS Office Category.

  
Question Answered By: Khadeeja Malik   on Dec 29

Try declaring a global object variable in a module, to represent any of your 20
date labels as needed:
Global WhichOne as Object

Then, in Date1_Click(), add
Set WhichOne = frmBrkDown.LabelDate1
before loading your calendar  form. You must
make a similar change for each of your other Date_Click subs.

Change your calendar form  code to
WhichOne.Caption = cal.value
Unload Me

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Reference form values dynamically from another form? Or get search suggestion and latest updates.


Tagged: