Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a userform. I am trying to load a cell address into a caption box
when the form opens up. I am trying to do so by doing the following: Private Sub UserForm3_Initialize() UserForm1.Label1.Caption = ActiveCell.Parent.Name & ActiveCell.Address End Sub However this is not working. Am I using the wrong event? Thanks EM |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Why are you trying to get a value from form1 in form3? If that were correct,
form1 would need to be loaded, is it? Private Sub UserForm3_Initialize() UserForm1.Label1.Caption = ActiveCell.Address(,,,True) End Sub -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "ExcelMonkey" wrote in message ... I have a userform. I am trying to load a cell address into a caption box when the form opens up. I am trying to do so by doing the following: Private Sub UserForm3_Initialize() UserForm1.Label1.Caption = ActiveCell.Parent.Name & ActiveCell.Address End Sub However this is not working. Am I using the wrong event? Thanks EM |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Defining UserForm Caption from a Variable | Excel Worksheet Functions | |||
Caption Property | Excel Discussion (Misc queries) | |||
How do I down load excel to open email attachment? | Excel Discussion (Misc queries) | |||
Add a button to a sheet to open a userform | Excel Discussion (Misc queries) | |||
picture in caption?? | Excel Discussion (Misc queries) |