LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 427
Default How to populate Label1.Caption with a variable's value

I have some On Change event code that triggers when a change is made
to a certain cell: the code performs VLOOKUPs and assigns the results
of the lookups to variables- call them V1, V2, V3.

The same event code opens a userform. I'd like to show the values of
V1, V2, and V3 as captions in Labels, and have the user click a radio
button to indicate his choice.

I've got this about together, but I need a hint: how do I use a
variable from the On Change event code in the user form? Is this a
matter of declaring a public variable?

Thanks
 
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
Label1 Jennifer Dixon Excel Discussion (Misc queries) 1 March 12th 08 02:12 PM
label caption gramps Excel Discussion (Misc queries) 0 November 1st 07 03:56 PM
Return the Row of a Variable's location xjetjockey Excel Discussion (Misc queries) 1 December 22nd 06 11:52 PM
Caption Property the dude Excel Discussion (Misc queries) 1 June 1st 06 10:23 AM
picture in caption?? RUSTYDK85 Excel Discussion (Misc queries) 1 May 10th 05 07:25 AM


All times are GMT +1. The time now is 11:35 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"