TheAceMan1
Programmer
Howdy all . . .
Have a cell formatted as [blue]General[/blue].
[ol][li]When I enter a numeric value directly thru the keyboard, all is fine. The number is formatted left justified indicating text.[/li]
[li]When I write a numeric value thru VBA of a userform, the text is as above only I get the little [green]green triangle[/green] in the top left corner of the cell ... which prompts me about the value being formatted as text. Also, a combobox of options becomes available if I set focus to the cell.[/li]
[li]Special Note: The datatype of the cell can't be numeric because the cell has to accept numeric as well as alfa-numeric values (5005775 or 05FA2).[/li][/ol]
I'd like to understand better the difference between the two data entry methods [blue]keyboard/VBA[/blue], so I can write cleaner code. Also ... in a logically correct way, how do I prevent that little [green]green triangle?[/green]
[blue]Your Thoughts? . . .[/blue]
See Ya! . . . . . .
Be sure to see thread181-473997 [blue]Worthy Reading![/blue]
Also faq181-2886 [blue]Worthy Reading![/blue]
Have a cell formatted as [blue]General[/blue].
[ol][li]When I enter a numeric value directly thru the keyboard, all is fine. The number is formatted left justified indicating text.[/li]
[li]When I write a numeric value thru VBA of a userform, the text is as above only I get the little [green]green triangle[/green] in the top left corner of the cell ... which prompts me about the value being formatted as text. Also, a combobox of options becomes available if I set focus to the cell.[/li]
[li]Special Note: The datatype of the cell can't be numeric because the cell has to accept numeric as well as alfa-numeric values (5005775 or 05FA2).[/li][/ol]
I'd like to understand better the difference between the two data entry methods [blue]keyboard/VBA[/blue], so I can write cleaner code. Also ... in a logically correct way, how do I prevent that little [green]green triangle?[/green]
[blue]Your Thoughts? . . .[/blue]
See Ya! . . . . . .
Be sure to see thread181-473997 [blue]Worthy Reading![/blue]
Also faq181-2886 [blue]Worthy Reading![/blue]