Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Hoyos
Not sure where you are seeing missing "XYChartLabller". However I suggest you try the following. Go to VBA/Tools/References There's a long list there. Find the following 6 references and put a check mark against each. VBA for applications Microsoft Excel11 object library Microsoft Office11 object library Microsoft Forms 2.0 object library atpbaen.xls Microsoft Visual Basib for Applications Extensibility 5.3 Then come out of VBA and go to your Excel worksheet. On the Menu Bar select Tools/Add-Ins. Put a check mark against the following 2 Add-Ins. Analysis ToolPak and Analysis ToolPak - VBA This may help donwb "hoyos" wrote in message ... Thanks for answering my question. I think I know what the problem is. on the left where you find the project explorer, There is missing the following: "XYChartLabller" How do I insert it? "donwb" wrote: Hi Hoyos I created 2 Userforms 1 with 2 command buttons, and the other blank. On UF1, Command button 2 is the exit or close Command Button 1 is used to call up a second Userform2 This is the code in UF1:- Private Sub CommandButton1_Click() UserForm2.Show End Sub Private Sub CommandButton2_Click() Unload UserForm1 End Sub A code module opens UF1:- Sub OpenUF1) UserForm1.Show End Sub This worked OK for me. donwb "hoyos" wrote in message ... With the following code set in a userform: Private Sub CommandButton1_Click() UserForm9.Show End Sub When ever I press commandbutton1 I get the following error message: Run-Time '1004' Application-defined or object-defined error Any fix for this? . |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error message | Excel Discussion (Misc queries) | |||
Error Message | Charts and Charting in Excel | |||
VBA Error Message "Compile Error...." | Excel Discussion (Misc queries) | |||
changing the message in an error message | Excel Worksheet Functions | |||
How do I get rid of "Compile error in hidden module" error message | Excel Discussion (Misc queries) |