Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
1) Call Worksheet_name.CommandButton1_Click, and you will have to make it a
Public Sub. 2) A Sub doesn't return a result, so best to change that procedure to do it Me.Cells(Me.Rows.Count,"B").End(xlUp).Offset(1,0). Value = the_value 3) frmNewJob.Show -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Anthony" wrote in message ... Hi all, Can anybody provide some code (as I am still new to this) that will execute the following tasks 1) call the private macro called Private Sub CommandButton1_Click() 2) take the result from the above macro (which would be placed in the next available row in column B in Sheet 1) and place it into the next available row in column A of DATA worksheet 3) run the frmNewJob userform any help appreciated and thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA code needed | New Users to Excel | |||
Code Needed | New Users to Excel | |||
Vb code help needed | Excel Programming | |||
Help needed with VBA code | Excel Discussion (Misc queries) |