Home |
Search |
Today's Posts |
#1
|
|||
|
|||
In Excel need macro to tell if Text Box is Blank or has Text
In Excel I need a macro to tell me if the Text Box Number is Blank or has
Text in it. |
#2
|
|||
|
|||
Textboxes on the worksheet?
'if from the control toolbox toolbar MsgBox Len(Worksheets("sheet1").TextBox1.Value) 'if from the Drawing toolbar MsgBox Len(Worksheets("sheet1").TextBoxes("Text box 2").Text) You could just look to see if it was equal to "", too. Jerry Dyben wrote: In Excel I need a macro to tell me if the Text Box Number is Blank or has Text in it. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Insert text in a cell with a macro | Excel Discussion (Misc queries) | |||
How do I change macro text with another macro? | Excel Discussion (Misc queries) | |||
I want Excel to allow cells with formulas and unrelated text | Excel Discussion (Misc queries) | |||
No Smart Tag help: just a blank "MS Excel Help" window - Excel 2003 | Excel Discussion (Misc queries) | |||
Inserting Blank Rows Macro? | Excel Worksheet Functions |