Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Why macro dont work in Excel 2003
Application.VBE.MainWindow.Visible = True Pierre |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Pierre,
Have you set a project reference to... "Microsoft Visual Basic For Applications Extensibility" library? Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware "Pierre" wrote in message Why macro dont work in Excel 2003 Application.VBE.MainWindow.Visible = True Pierre |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Not necessary.
Pierre, in what context do you have that code? -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Jim Cone" wrote in message ... Pierre, Have you set a project reference to... "Microsoft Visual Basic For Applications Extensibility" library? Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware "Pierre" wrote in message Why macro dont work in Excel 2003 Application.VBE.MainWindow.Visible = True Pierre |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
From VBA Help:
A method or property can't be used because of security settings. For example, the properties and methods of the VBE object for manipulating the Microsoft Visual Basic for Applications (VBA) code stored in an Microsoft Office document are inaccessible by default. To turn on trusted access to Visual Basic Projects: On the Tools menu, point to Macro, and then click Security. On the Trusted Sources tab, select the Trust access to Visual Basic Project check box. Regards, Shah Shailesh http://in.geocities.com/shahshaileshs/ (Excel Add-ins Page) *** Sent via Developersdex http://www.developersdex.com *** |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On the Tools menu, point to Macro, and then click Security.
On the Trusted Sources tab, select the Trust access to Visual Basic Project check box. It's working now. Thanks, Pierre |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA Editor | Setting up and Configuration of Excel | |||
VBA Editor | Excel Discussion (Misc queries) | |||
VBA editor | Excel Discussion (Misc queries) | |||
VB Editor | Excel Discussion (Misc queries) | |||
VBA Editor won't run | Excel Programming |