Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
first user form
Private Sub CommandButton1_Click()
Application.Run ("2006vets.xls.Macro1") End Sub This macro is module17 in the workbook. Yet it says it cannot find. Useing a command button. The workbook is opened and the form comes up. I must be missing something. any help is appreciated Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
first user form
It should be
Private Sub CommandButton1_Click() Application.Run "2006vets.xls!Macro1" End Sub but if it is the same workbook, you don't even need Application.Run, just Call Macro1 -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Curt" wrote in message ... Private Sub CommandButton1_Click() Application.Run ("2006vets.xls.Macro1") End Sub This macro is module17 in the workbook. Yet it says it cannot find. Useing a command button. The workbook is opened and the form comes up. I must be missing something. any help is appreciated Thanks |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
first user form
Thanks much works now
"Bob Phillips" wrote: It should be Private Sub CommandButton1_Click() Application.Run "2006vets.xls!Macro1" End Sub but if it is the same workbook, you don't even need Application.Run, just Call Macro1 -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Curt" wrote in message ... Private Sub CommandButton1_Click() Application.Run ("2006vets.xls.Macro1") End Sub This macro is module17 in the workbook. Yet it says it cannot find. Useing a command button. The workbook is opened and the form comes up. I must be missing something. any help is appreciated Thanks |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
first user form
useing option buttons some work with call others don't. anyway all are
working. Problem now a dot apears in circle in front of name. If I close and return the dot reapears in same location. Can not activate till itis gone. Have a blank option button that I check on it moves to that option then other one will work. Is there a properties value I am not seeing to remove this dot. Thanks Again "Bob Phillips" wrote: It should be Private Sub CommandButton1_Click() Application.Run "2006vets.xls!Macro1" End Sub but if it is the same workbook, you don't even need Application.Run, just Call Macro1 -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Curt" wrote in message ... Private Sub CommandButton1_Click() Application.Run ("2006vets.xls.Macro1") End Sub This macro is module17 in the workbook. Yet it says it cannot find. Useing a command button. The workbook is opened and the form comes up. I must be missing something. any help is appreciated Thanks |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
first user form
Just to let you know I found the property that was causeing the problem
Thanks "Bob Phillips" wrote: It should be Private Sub CommandButton1_Click() Application.Run "2006vets.xls!Macro1" End Sub but if it is the same workbook, you don't even need Application.Run, just Call Macro1 -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Curt" wrote in message ... Private Sub CommandButton1_Click() Application.Run ("2006vets.xls.Macro1") End Sub This macro is module17 in the workbook. Yet it says it cannot find. Useing a command button. The workbook is opened and the form comes up. I must be missing something. any help is appreciated Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I fill a cell in a user form from a selection on same form? | Excel Discussion (Misc queries) | |||
How to show User Form when form name is in string? | Excel Programming | |||
How to: User Form to assign a user defined range to a macro variab | Excel Programming | |||
I am looking to see if anybody has an equivalant user form to Outlooks CONTACT form | Excel Programming |