Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Initializing control values of a form
I'm working with a form in VBA and I'm trying to initialize the value of a
couple of textbox.values priior to displaying the form. The problem is I'm seeing the values appear or not appear in no clearly definable pattern. If I put a breakpoint in the code before the value is set and step it forward, I can see the data go in and when I release the break it does show up in the form as expected. But when I take the break off, it stops working again. I have two fields doing this, one an integer and another a date. I fixed the date anommaly by assigning the date to a variable and using the variable to set the form value. But I can't seem to get the integer value to work consistently. It's really dirt simple code so I'm at a loss to understand what is happening.... Anyone have any ideas? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Initializing control values of a form
Post the code for review
-- Cheers Nigel "TimK" wrote in message ... I'm working with a form in VBA and I'm trying to initialize the value of a couple of textbox.values priior to displaying the form. The problem is I'm seeing the values appear or not appear in no clearly definable pattern. If I put a breakpoint in the code before the value is set and step it forward, I can see the data go in and when I release the break it does show up in the form as expected. But when I take the break off, it stops working again. I have two fields doing this, one an integer and another a date. I fixed the date anommaly by assigning the date to a variable and using the variable to set the form value. But I can't seem to get the integer value to work consistently. It's really dirt simple code so I'm at a loss to understand what is happening.... Anyone have any ideas? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
2007 Form Control/ActiveX Control font difference | Excel Discussion (Misc queries) | |||
Holding form control values within VBA | Excel Programming | |||
Tool Tip Text for Form control/ Active-X control | Excel Programming | |||
Initializing a Form with multiple forms embedded | Excel Programming | |||
Office 2003 - Initializing ActiveX Control | Excel Programming |