Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have assigned a HelpContextID to all TextBoxes in my Excel 2002
program, and my home-crafted help system works perfectly. When I tried to do the same for their corresponding Labels, Excel bombed. Would some of you set up the following very simple experiment to confirm what I've encountered (or explain what I'm doing wrong): Set up UserForm1 with three controls: Label1, TextBox1, and CommandButton1. In the Properties module set the HelpContextID for TextBox1 to 101 and the HelpContextID for Label1 to 102, say. In the code module do the following: Private Sub CommandButton1_Click() MsgBox UserForm1.TextBox1.HelpContextID MsgBox UserForm1.Label1.HelpContextID End Sub Sub Auto_Open() UserForm1.Show End Sub Load the program and click the command button. A message box comes up with the number 101 displayed, as it should; dismiss the message box and then what happens to me is that an error message comes up saying "Member not found." -- Dennis Eisen |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Bug Found in Excel 2007 | Excel Discussion (Misc queries) | |||
excel can't be found | Excel Discussion (Misc queries) | |||
Found a SERIOUS bug in Excel !!! | Excel Worksheet Functions | |||
I think I've found a bug in Excel 2003 | Excel Discussion (Misc queries) | |||
File Not Found msg when run Excel | Excel Discussion (Misc queries) |