Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi David
Private Sub CommandButton1_Click() Worksheets("Sheet1").Range("C4").Value = TextBox1.Text Unload Me End Sub -- XL2002 Regards William "David" wrote in message ... | What is the code to get a command button to populate a | field and then close the form when the user clicks the | button once? | | So far the code I have is: | | Private Sub CommandButton1_Click() | Worksheets("Sheet1").Range("C4").Value = TextBox1.Text | | End Sub | | What am I missing please? | | Thanks, | David |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Comman Button | New Users to Excel | |||
Comman Button to Save Worksheet as Workbook | Excel Discussion (Misc queries) | |||
Auto filter through the Comman Button | Excel Worksheet Functions | |||
Excel shoud not close all active books when clicking close button | Excel Discussion (Misc queries) | |||
Comman Button to open another application | Excel Programming |