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 strongm 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: be17
  • Order by date
  1. be17

    Problem inserting new userform in old WordBasic template

    Thanks. Everything is working now. It was easy to find my problem (an extra period) once I figured out that the problem was in the userform code, rather than in the frmEpicDocType.Show code in my AutoNew.
  2. be17

    Problem inserting new userform in old WordBasic template

    I just figured out that it must have something to do with my code that I put in the frmEpicDocType, because when I take all of the code out and simply have the userform with no code, then I can run the frmEpicDocType and it comes up just fine. What I can't figure out is, why then would it error...
  3. be17

    Problem inserting new userform in old WordBasic template

    The new userform is actually in the template, the same template that has the AutoNew module I'm working with. And yes, this old template/Word Basic code is being opened in Word 2003 and works just fine, but I can't get it to show this new userform. By design mode, do you mean in VBA, just...
  4. be17

    Problem inserting new userform in old WordBasic template

    It is within the AutoNew module that I need to show the new userform, and at the bottom of the AutoNew module I have inserted frmEpicDocType.Show, but it always debugs to that line of code, saying, Run-time error '424', Object required. Any suggestions? What does object required mean? I have...
  5. be17

    Problem inserting new userform in old WordBasic template

    Yes, I am using Word 2003. But the original template is quite complicated and right now I don't have the time to recreate it, although I know that is the best solution, so I need a quick fix to simply be able to load/show a new form.
  6. be17

    Problem inserting new userform in old WordBasic template

    I am working with an old Word template created by someone else years ago using Word Basic. I need to make some modifications to the template, including a new userform I created (with VBA) that I need to call up at the end of the existing AutoNew module (which is written in Word Basic) but my...
  7. be17

    In Word, SaveAs MS-DOS Text avoid warning prompt

    I am using the code below: Sub Macro9() ActiveDocument.SaveAs FileName:="c:\temp\name.txt", FileFormat:=100 End Sub Is there a way to bypass/avoid the warning prompt that comes up when this code is run that says, "This file needs to be saved using the MS-DOS Text with Layout text converter...
  8. be17

    Closing Print PReview Screen (if open)

    I would like to write some code that does the following: If the print preview screen is open Then Close the print preview screen. I know the code for the second line (ActiveDocument.ClosePrintPreview), but I am having trouble coming up with how to write code for...
  9. be17

    Comparing user's template to current template on intranet server

    Could you tell me what thread this is in the Access forum? I haven't been able to find it. Thanks.
  10. be17

    Comparing user's template to current template on intranet server

    Background information: - I have a template created in Word 97 that has quite a few userforms and macros in it. - The template is posted on our company's intranet. - All employees have downloaded the template from the intranet. - The template is changed periodically. PROBLEM: How do we let the...
  11. be17

    Have text from textbox automatically insert into Document Properties

    Thanks. I think I got it figured out now. -Bronwyn
  12. be17

    Have text from textbox automatically insert into Document Properties

    Is there a way to automatically have information that the user types in a textbox of a userform get saved as a field in the document properties of Word (ie. title, subject, author, etc.)? My userforms are set up so that the text in the textbox gets inserted in a bookmark within the document. In...
  13. be17

    insert autotext at bookmark

    I need to write code that inserts a picture/logo (saved in autotext in Word) into a bookmark in a Word template so that I can reference the bookmark on the second page header. Normally when I insert text at a bookmark I use code similar to this: Set BMRange =...
  14. be17

    Disable Close (X) button in Userforms

    I have created a program in Word97 that has several userforms that prompt the user for information. I do not want them to be able to close out of the forms, as it is mandatory that they select certain options. Is there a way to disable the Close (X) button on the top right corner of the userforms?
  15. be17

    Link to HTM

    Whoa - I am fairly new to programming in VB and I don't know a ton about HTML, so I am a little confused about your code. Would I copy what you wrote exactly, or what parts do I need to change to meet my own needs?? Where in the code is the URL?? Normally when I look at code I can figure it...
  16. be17

    Link to HTM

    Does anyone know if it is possible to write a macro that will connect you to a webpage. What I would like to do is create a toolbar button so that when the user clicks on the button, it will send them to a particular site on our intranet. Any suggestions?
  17. be17

    VBA (Word): Command to close document and cancel all future code?

    Thanks much. I did not know about End, but that is exactly what I wanted to do - close the entire program.
  18. be17

    Refer to control on another form

    I have a program created with about 5 different forms. At one point in one of the forms, I want to have a statement stating that If a checkbox on that form is checked, AND a certain checkbox on the previous form was checked, Then it will prompt the user for information. However, I am new to...
  19. be17

    VBA (Word): Command to close document and cancel all future code?

    That helps a little bit. However, I am very new to programming and I do not know what you mean by "set bFlag somewhere in this code". How do I set it? Also, I have one module that has a Sub that has various forms loading in a particular order. From that point, there is different...

Part and Inventory Search

Back
Top