R
red6000
Hi,
I have a set up using various userforms.
The userforms contain various textboxes which then feed the code:
Selection.TypeText Text:= Userform1.TextBox1.value
However when my code runs, it is not returning the value entered into the
textbox and instead it types nothing.
Now on face value, it would suggest that I either have an incorrect
reference to the textbox or somewhere I have coded 'unload userform1' so
that it empties the data entered.
However, the problem is intermittent. Sometimes it types the value of the
textbox and othertimes its just blank (the majority of the time it works).
I have ensured that when testing, I am using exactly the same inputs, so I
am 100% sure it is not the code as it is exactly the same senario that I am
testing.
So is there any 'bug' that can intermitently lose the data of a userform
from the memory?
Has anyone ever experienced such a situation?
Thanks.
I have a set up using various userforms.
The userforms contain various textboxes which then feed the code:
Selection.TypeText Text:= Userform1.TextBox1.value
However when my code runs, it is not returning the value entered into the
textbox and instead it types nothing.
Now on face value, it would suggest that I either have an incorrect
reference to the textbox or somewhere I have coded 'unload userform1' so
that it empties the data entered.
However, the problem is intermittent. Sometimes it types the value of the
textbox and othertimes its just blank (the majority of the time it works).
I have ensured that when testing, I am using exactly the same inputs, so I
am 100% sure it is not the code as it is exactly the same senario that I am
testing.
So is there any 'bug' that can intermitently lose the data of a userform
from the memory?
Has anyone ever experienced such a situation?
Thanks.