P
portugueselink
Is it possible to create a "Button" able to reset a certain Field or
Fields?
if so ...I would aprecciate some help.
ty
Fields?
if so ...I would aprecciate some help.
ty
What kind of field do you mean? Like a textbox on a userform? Or a
range of cells? Something else?
--JP
- Mostrar texto citado -
Click View>Toolbars and select the Control Toolbox, then click the
"Command Button" control and, using your mouse, draw the button on
your worksheet. Then double click the button, press Ctrl-A, press
Delete, then insert this code:
Private Sub CommandButton1_Click()
Range("A1").Clear
End Sub
You can change the range above to suit your needs.
Now press Alt-Q to return to Excel. On the Control Toolbox toolbar,
click "Design Mode". Now you can click on your button and anything in
cell A1 will be deleted.
HTH,
JP
- Mostrar texto citado -
Click View>Toolbars and select the Control Toolbox, then click the
"Command Button" control and, using your mouse, draw the button on
your worksheet. Then double click the button, press Ctrl-A, press
Delete, then insert this code:
Private Sub CommandButton1_Click()
Range("A1").Clear
End Sub
You can change the range above to suit your needs.
Now press Alt-Q to return to Excel. On the Control Toolbox toolbar,
click "Design Mode". Now you can click on your button and anything in
cell A1 will be deleted.
HTH,
JP
- Mostrar texto citado -