Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
command button in a frame: strange phenomena
On a form, I have a frame with two refedit controls: refRunStart and
refRunEnd. Often, when setting the range for a run, the start of a new run is the end of the previous one, so I added a command button: Private Sub cmdStartIsEnd_Click() refRunStart.Text = refRunEnd.Text End Sub When I place this command button outside the frame that contans the refedit controls everything works just fine. However, when I place it inside the frame (which for logic's sake I would prefer), strange things start happening: the button won't work on the first click, the value of refRunEnd is merely appended to that of refRunStart and the program wont stop at a break I place in the click event of the button. The program may even get stuck. Am I missing something here? I am using XL2003 SP2. TIA |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Accessing every option button on a frame | Excel Programming | |||
new phenomena? | Excel Programming | |||
How to access a Radio Button in Frame in Excel? | Excel Programming | |||
VB's Command Button vs Form's Command Button | Excel Programming | |||
strange command button problem | Excel Discussion (Misc queries) |