Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default 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
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
2007 Form Control/ActiveX Control font difference Nikko963 Excel Discussion (Misc queries) 0 April 15th 09 04:21 PM
Holding form control values within VBA Darren Excel Programming 10 December 23rd 04 07:06 PM
Tool Tip Text for Form control/ Active-X control Freddie[_2_] Excel Programming 0 October 19th 04 04:14 AM
Initializing a Form with multiple forms embedded bforster1 Excel Programming 2 July 14th 04 07:42 PM
Office 2003 - Initializing ActiveX Control Gates 72 Excel Programming 1 February 26th 04 04:48 PM


All times are GMT +1. The time now is 01:47 AM.

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"