|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
DriverHeaven Senior Member
|
VB problem, writing to a label object
I've been to the VB threads , i didn't find what i was looking for,
i want to write to a form object (I'm using excel) from within the code kindof something like: labelObject.write(someText) this is how excel says i should do it labelObeject.Caption = someString this doesnt work however it doesnt write to the label object at all the reason I have the "someString" variable is because i want the label to change depending on conditions i wont mention here, coz that is a problem i got on lock Why is VB so annoying isnt it an OO its hierachy is so weird to me
__________________
"I just want to make sure that this sensation really is hunger before i go and eat... " Emma Obita You Tube |
|
|
|
|
|
#2 |
|
DriverHeaven Senior Member
|
Re: VB problem, writing to a label object
Case anyone ends up here: here is how i managed
labelObject.Caption = Str$(someString) had to parse it works though
__________________
"I just want to make sure that this sensation really is hunger before i go and eat... " Emma Obita You Tube |
|
|
|
|
|
#3 |
|
DriverHeaven Extreme Member
|
Re: VB problem, writing to a label object
Thanks for the feedback and cool. I was going to look at this on the weekend for ya the only time I have for this stuff.
Cheers
__________________
"My mom said the only reason men are alive is for lawn care and vehicle maintenance." - Tim Allen |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|