Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / July 2007

Tip: Looking for answers? Try searching our database.

How do I open a file with control box in run mode in MS Word?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Balan - 10 Jul 2007 08:22 GMT
I have created a document with some control boxes in it.  However, when I
reopen the file, it opens in Design Mode and I need to put it off so as to
work on the control boxes.  how can I open the file in run mode?  In Office
2000, this problems does not exist; this happens only with Office 2003
package.
Bear - 10 Jul 2007 14:38 GMT
Balan:

Do you mean ActiveX controls or formfields?

For ActiveX controls, it's possible that a related macro or userform was
left in design mode in the VBE. Try this code to see if any are.

Public Sub CloseDesignWindows()
Dim k As Long
With ActiveDocument.VBProject
   For k = 1 To .VBComponents.Count
       With .VBComponents(k)
           If .HasOpenDesigner Then
           MsgBox "Found in: " & .Name
           .DesignerWindow.Close
           End If
       End With
   Next
End With
End Sub

Bear
Signature

Windows XP, Word 2000

Balan - 11 Jul 2007 04:30 GMT
Dear Bear,
Thank you for  your response.
Actually this is a check box from the control box tool bar.  It is still
opening in the design mode only.  This problem does not exist in Office 200
package.  I have experienced this only in Office 2003 package.  please help
me if you can.
Thanks
Balan  

> Balan:
>
[quoted text clipped - 18 lines]
>
> Bear
Ed - 11 Jul 2007 18:50 GMT
Hi Balan (& Bear),

With Word 2003 I think you get that effect if your macro security level
(Tools>Macro>Security) is set to High.

Regards.

Ed

> Dear Bear,
> Thank you for  your response.
[quoted text clipped - 27 lines]
> >
> > Bear
Balan - 12 Jul 2007 04:46 GMT
Dear Ed,

Thank you for your advice.  It helped solve my problem.

Thanks once again
Balan

> Hi Balan (& Bear),
>
[quoted text clipped - 36 lines]
> > >
> > > Bear
Ed - 12 Jul 2007 09:52 GMT
You're welcome. Glad you got it sorted :-)

Regards.

Ed

> Dear Ed,
>
[quoted text clipped - 43 lines]
> > > >
> > > > Bear
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.