Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: duGly
  • Content: Threads
  • Order by date
  1. duGly

    Displaying a Color Picker Dialog Box

    I am using VBA in Word 2003. I want to display a dialog box to allow the user to select a color, like the one displayed when you choose More Colors from the Font Color drop-down button from the toolbar. I could not find one among Word's Built-in Dialog Boxes, and VBA's help files failed to live...
  2. duGly

    Digital Certificate discarded when template assigned

    I'm using VBA with Word 2003. I have a project signed with a commercial digital certificate (from GlobalSign). The problem described below happens when I modify the document on a computer other than my own. When I change the template attached to the document (either manually or...
  3. duGly

    VBA project becoming locked

    I am using VBA with Word 2003. While editing a VBA project, if I open another document or respond to an e-mail using Outlook (I have Word set as my e-mail editor), my VBA project becomes locked, i.e. any open modules close, and I get the message "Project is unviewable" if I try to open the...
  4. duGly

    AddToRecentFiles not functioning

    I am using VBA with Word 2003. I have a procedure which creates new documents, then opens them for programmatic editing. It then saves and closes the document. Even though I have the AddToRecentFiles property set to false, the new documents still get added to my recent files list. Has anyone...
  5. duGly

    Style not linking to ListTemplate

    I am trying to apply a ListTemplate to a style. The code runs without error, but there is no change made to the document. Here are the details: I have a UserForm that creates multiple documents and places them in a common project folder. The code creates a new document for each chapter and...
  6. duGly

    How do I remove a custom ListTemplate?

    I am using VBA with Word 2003. The ListTemplate object has an Add method. But it does not have a Delete or Remove method. Does anyone know a workaround for deleting a custom ListTemplate? [ponder]— Artificial intelligence is no match for natural stupidity.
  7. duGly

    ColumnWidths property responding to length of string supplied by user

    I am using VBA with Word 2003. I want to dynamically change the ColumnWidths property of a ListBox control (on a UserForm) based on the length of the text entered by the user. Here's why: The width of my ListBox is quite large: 450 pts. I really can't make it much larger than that due to design...
  8. duGly

    Refering to Variable Names with a String

    Is there a way to refer to a variable by constructing a string to represent its name? For example, say I have the following variables: • myLevel • intLevel1 • intLevel2 • intLevel3 My code now looks like this: Select Case myLevel Case 1 intLevel1 = intLevel1 + 1 Case 2...
  9. duGly

    How do I find the order of open windows?

    OK, my question's a bit hard to explain, so please bear with me. I am using VBA in Word 2003. In my DocumentBeforeClose event, I want to reconfigure my menu based on which document will become active. To do so, I need to find the order of open windows (documents). If I use...
  10. duGly

    How do I set the folder to display using FileDialog?

    I am using VBA with Word 2003. I am using the FileDialog object to return the path and name of a folder that the user selects. How do I set the folder that FileDialog opens to? I have tried ChDrive and ChDir before opening the dialog, but it still opens to my Word's default file folder. Here is...
  11. duGly

    Using wdDialogFileFind to return folders only

    I am using VBA with Word 2003. I am trying to use the wdDialogFileFind dialog to return a string indicating a folder name and path. I'm using the .Display method rather than the .Show method because I only want to return a string, not have the dialog actually do anything. The problem is...
  12. duGly

    Editing Header in Section 2 Affects Section 1

    I am using VBA in Word 2003 to programmatically edit the headers of my document. My header paragraph style includes a bottom border. Page one (section 1) does not use a header. However, when I programmatically edit the header of section 2, the bottom border shows up in the header of section 1...
  13. duGly

    Opening built-in dialog changes modality of UserForm

    I am using VBA with Word 2003. I have a UserForm (frmGraphicInsert) that automates the insertion of graphics into the document. The form opens modally (default). Clicking an image on the UserForm opens the wdDialogInsertPicture built-in dialog (dialogs collection). When this happens, the...

Part and Inventory Search

Back
Top