workbook _open does not run

gerald.lebret

New Member
Joined
Nov 4, 2011
Messages
7
Hi everyone

I am having problem with a vba code.
I design a form, coded everything and it seems to work fine. When opening the file, the form is launching and excel is hidden.
my code is:
Code:
Private Sub workbook_Open()
Application.Visible = False
FrmRapport.Show
End Sub
It all works fine if I load the file without any other excel file open.
Can anyone help me?

Thanks
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Please read the forum rules on cross posting, and abide by them. Thanks. :)
 
Upvote 0
Hello RoryA,

I went through the different posts and couldn't find this topic. Thus, I created a new thread.

Thank you.
 
Upvote 0

Forum statistics

Threads
1,214,387
Messages
6,119,225
Members
448,877
Latest member
gb24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top