ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   user forms (https://www.excelbanter.com/excel-programming/314493-user-forms.html)

Brian

user forms
 
upon entry of data in any cell in d column how do I get a user form to appear?
Thanks
BD

Frank Kabel

user forms
 
Hi
use the worksheet_change event. See:
http://www.cpearson.com/excel/events.htm

--
Regards
Frank Kabel
Frankfurt, Germany

"Brian" schrieb im Newsbeitrag
...
upon entry of data in any cell in d column how do I get a user form

to appear?
Thanks
BD



Ron de Bruin

user forms
 
Hi Brian

You can use this event in the sheet module

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count 1 Then Exit Sub
If Target.Column = 4 Then UserForm1.Show
End Sub


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Brian" wrote in message ...
upon entry of data in any cell in d column how do I get a user form to appear?
Thanks
BD





All times are GMT +1. The time now is 10:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com