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 bkrike 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: cheriberi
  • Content: Threads
  • Order by date
  1. cheriberi

    Copy AutoText Entries from Global Template to Other Templates

    Hi, I have three AutoText entries that I need to copy from a global template to a number of other templates. I don't want to insert the AutoText entries into the text of my templates, just copy them into the AutoText list so they are available if needed. Is there a way to do this using VBA...
  2. cheriberi

    Find string in string, then act if found?

    I know I can use InStr to see if there's a period or space in a string, but what do I do once I know? I need to determine whether a string contains a period, space, or hyphen. If it does, I need to bring the form back up so the user can retype their entry without the offending character. Can...
  3. cheriberi

    Can Word macro copy input in Word doc and Excel spreadsheet?

    In Word, I have a custom dialog box that will get name and address information from the user, which will then be inserted into the Word document. Is it possible to also insert that same information into an Excel spreadsheet? If so, what would I need to do to get it there? I've never had to do...
  4. cheriberi

    Hide Toolbar via macro in Word?

    Is there a way to hide a toolbar when Word is opened? I have a template in my Startup folder (Windows NT) which contains 3 toolbars. I only want to see one of those toolbars when Word is first opened. Is there a way to make sure the other 2 toolbars don't automatically appear? It seems like...
  5. cheriberi

    Can a Word Macro Determine which Operating System?

    I need to find out if I can do the following in a Word macro: 1) Determine which operating system is used. If Windows XP, I need to save a print file (.prn or .ps) using a specific printer. If not Windows XP, it needs to be saved as a print file using a different printer. 2) Reset to the...
  6. cheriberi

    Keep VBA form on screen and still work in document?

    Is it possible to keep a VBA form on screen and while it's there, reposition cursor manually or do some other manual updating, then make selections on the form? Thanks! Cheryl
  7. cheriberi

    Can I Reposition a VBA Form in Word?

    Is it possible to set up a form in Word VBA so that when the form pops up, it is over to the right of the screen, allowing users to see a bit more of what is on their page before making their selections on the form? Thanks!
  8. cheriberi

    Need Macro in Checkbox to Add AutoText Row to Table

    (I forgot to add a subject line, so I've resubmitted my posting with a subject.) I am working on a Word template that contains many tables and is locked so only fields can be updated. This template needs to do the following: For one specific table, the user wants to be able to click something...
  9. cheriberi

    I am working on a Word template tha

    I am working on a Word template that contains many tables and is locked so only fields can be updated. This template needs to do the following: For one specific table, the user wants to be able to click something and add between 1 and 5 additional rows at the end of the table. Since the row...
  10. cheriberi

    Is it possible to protect only part of a document?

    I am working on a Word 97 template where the user wants some areas available for editing and other areas not available. They also want to be able to include URLs in the available areas. If I use form fields I can protect all areas except the fields, but it doesn't look like I can add URLs to a...
  11. cheriberi

    Problem Turning Custom Toolbar On/Off in Template

    What is the best way to hide/unhide a toolbar via macro? I used the following code: CommandBars("MyToolbar(Details)").Visible = False and later in the code: CommandBars("MyToolbar(Details)").Visible = True I do have text in parentheses in the name of my toolbar, so I...
  12. cheriberi

    Insert AutoText via Macro from Startup Template

    Is it possible to search for specific text in a document and, if found, move the cursor to the start of the text and then insert an AutoText entry that is found in a separate template located in the Startup folder? Thanks! Cheryl [ponder]
  13. cheriberi

    Check if Word Doc Protected?

    I'm sure this is easy, but I can't figure it out. How do I check in a Word macro whether a document is protected or not? I need to make sure it is not protected and if it is, unprotect it. Thanks!
  14. cheriberi

    Edit Text Form Field via Macro?

    Is it possible to change the default text of a Text form field via a macro in Word? In most cases, I have a form field that will stay as is. However, in some cases I need to change the default text of the field, but I can't figure out how to do it.
  15. cheriberi

    Remove page and make document even # of pages?

    Is it possible via VBA in Word to remove the last page of a document (starting with the last page break), then make sure that the document has an even number of pages (if odd number, add a page break at the end)?
  16. cheriberi

    Pass macro from template to document?

    Is it possible to create a macro in a Word template that will still be available in a document created by that template?
  17. cheriberi

    Get existing filename and print to file?

    Can anyone tell me how to use VBA in Word to: 1) Get the filename of the open Word document (without also pulling the file extension) 2) Then print to file using same filename plus file extension of .prn? Thanks!
  18. cheriberi

    Move each paragraph in table to individual cells and keep styles

    Is it possible to create a macro in Word that will take a selected table and move each paragraph in the table to it's own row (within it's original column) without changing the style of each paragraph? Each paragraph would keep it's original style, even if bulleted or numbered? Any help would...
  19. cheriberi

    Move each paragraph in table to individual cells and keep styles

    Is it possible to create a macro in Word that will take a selected table and within each column, move each paragraph to it's own cell without changing the style of each paragraph? Each paragraph would keep it's original style, even if bulleted or numbered? Any help would be greatly appreciated!!

Part and Inventory Search

Back
Top