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?
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" <ho...@discussions.microsoft.com> wrote in message
news:EC395F82-7AFE-43CA...@microsoft.com...
Jim Thomlinson
"donwb" wrote:
> .
>
"hoyos" <ho...@discussions.microsoft.com> wrote in message
news:87CFCB36-A836-4C21...@microsoft.com...
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" <ho...@discussions.microsoft.com> wrote in message
news:87CFCB36-A836-4C21...@microsoft.com...
I'll have a look at the rest of the VBA/Tools/References to see if it's there.
But many thanks for coming back to me.
"donwb" wrote:
> .
>
Hoyos
http://www.appspro.com/Utilities/ChartLabeler.htm
Gord Dibben MS Excel MVP
On Fri, 8 Jan 2010 12:31:03 -0800, hoyos <ho...@discussions.microsoft.com>
wrote:
Gord Dibben MS Excel MVP
On Fri, 8 Jan 2010 12:45:01 -0800, hoyos <ho...@discussions.microsoft.com>
wrote:
"Gord Dibben" wrote:
> .
>
The download from Rob's site is an executable and has an install routine.
Entries are written to the Registry along with several files being copied to
a folder.
help, example workbook.xls, uninstall routine, xychartlabeller.xla among
others.
Best to download and install by running the executable.
Only takes a minute or so and you will make sure the add-in is fully
installed and easily uninstalled should you decide.
Gord
On Fri, 8 Jan 2010 13:29:01 -0800, hoyos <ho...@discussions.microsoft.com>
wrote:
>Yes.
"Gord Dibben" wrote:
> .
>