Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
File Structu
H:\ GO Finance Function_Labor MKTG JUN MKTG_GROUP.XLS JUL MKTG_GROUP.XLS AUG MKTG_GROUP.XLS VBA Code: Sub MKTGRPsumm() ChDrive "H" ChDir "H:\GO\FINANCE\FUNCTION_LABOR\MKTG\" & Months.Value Workbooks.Open Filename:="MKTG_GROUP.XLS", Password:="MKT2646" End Sub '' Scenario: Combobox(Months) with a list of months. User selects month in combo box then clicks on button tied to macro above. The object is to have the user select the month of the report to open. Error: Receive the following error when executing the macro: Run-time error '424' Object Required Can anyone help fix this code? Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Jeff,
What does months.value return? A number or text? -- John johnf202 at hotmail dot com "Jeff" wrote in message ... File Structu H:\ GO Finance Function_Labor MKTG JUN MKTG_GROUP.XLS JUL MKTG_GROUP.XLS AUG MKTG_GROUP.XLS VBA Code: Sub MKTGRPsumm() ChDrive "H" ChDir "H:\GO\FINANCE\FUNCTION_LABOR\MKTG\" & Months.Value Workbooks.Open Filename:="MKTG_GROUP.XLS", Password:="MKT2646" End Sub '' Scenario: Combobox(Months) with a list of months. User selects month in combo box then clicks on button tied to macro above. The object is to have the user select the month of the report to open. Error: Receive the following error when executing the macro: Run-time error '424' Object Required Can anyone help fix this code? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
split post code (zip code) out of cell that includes full address | Excel Discussion (Misc queries) | |||
Code to conditional format all black after date specified in code? | Excel Discussion (Misc queries) | |||
Drop Down/List w/Code and Definition, only code entered when selec | Excel Worksheet Functions | |||
Convert a Number Code to a Text Code | Excel Discussion (Misc queries) | |||
copying vba code to a standard code module | Excel Discussion (Misc queries) |