| Thread | Last Post | Replies |
|
| Run a macro automatically when opening a document - how? | 06 Apr 2005 13:13 GMT | 1 |
I'm a novice with macros and want to be able to run a macro automatically when opening a document to execute a bunch of ASK and REF fields to capture setup info e.g. customer name, address etc, store them in bookmarks and then paste the data into various parts of the doc.
|
| inserting name and country inside the letter | 06 Apr 2005 11:17 GMT | 1 |
i have two word document, one include atable which include the name and the country, and i have a letter which i have to get each name and country from the table and entering it to the letter then printing it regards,
|
| Find routine in VBA | 06 Apr 2005 02:43 GMT | 1 |
I want to use VBA to find all the bold text in a document. When found and still selected, copy the formatting, apply a character style called WHATEVER, then paste the copy formatting back on top of the same text. Once that is done, Find the next occurance. I need to do this ...
|
| error trying to change topmargin | 06 Apr 2005 02:31 GMT | 1 |
i am getting an error when I try to do the next line .TopMargin = InchesToPoints(1) it is run in With ActiveDocument.PageSetup
|
| Function DayLightSavingsTime | 06 Apr 2005 00:09 GMT | 1 |
Any suggestions regarding a way to determine if day light savings time is in effect. Thanks in Advance.
|
| Spell checking | 05 Apr 2005 21:32 GMT | 1 |
I am creating a protected form in Word XP. In order to use the spell check in the form field text boxes I downloaded the Macro from the site http://word.mvps.org/FAQs/MacrosVBA/SpellcheckProtectDoc.ht
|
| Printing based on a null value in word | 05 Apr 2005 21:09 GMT | 1 |
I currently have a merged document that has a macro sat behind it I want the document to look at a certain mergefield and if it has a value in it then print it. Otherwise not to print, can anyone please help
|
| Styles that inherit | 05 Apr 2005 20:47 GMT | 2 |
Is it possible in Word to define styles that inherit margins from the paragraph that precedes? IOW, I would like to define, say "Bullet" to indent 0.2 in from the left of the margin, with "margin" being defined by the style of the previous paragraph. "Bullet" therefore is always
|
| "Break" document | 05 Apr 2005 20:13 GMT | 2 |
I have an *.rtf document conataining reports for restaurants; most of the time is one store per page, (sometimes more than one page); the store number is part of the 'header'. What would be the code, if there is any, to search by store, make a page
|
| VB Help | 05 Apr 2005 20:11 GMT | 2 |
When I try to run a Word macro named UpdateTOC, I receive a "Run time error '5678': Word cannot find the requested bookmark." message. When I click the "debug" button, I'm taken to this line within the code: "Selection.GoTo What:=wdGoToBookmark, Name:="toc""
|
| Read Document Name Programatically as Search Criteria | 05 Apr 2005 19:25 GMT | 2 |
Would someone tell me how to read the document name into a Search & Find dialog (input) box within the document to search as a Keyword. Tia, Ted
|
| Search for Keyword and Delete all Text in a Range | 05 Apr 2005 19:21 GMT | 4 |
Would someone tell me how would I search for a keyword in the middle of a document while Deleting all text up to the search keyword? Starting from (Ln 1, Col 1) I want to search for the word "Log:" found at (Ln 14, Col 23) while deleting all text up to the word Log. or
|
| Settine the DB path within the DOT template | 05 Apr 2005 19:03 GMT | 3 |
Good Day to all. Coming from the VB6 world, I am being confronted with a dilemna here. When running my template from within the VBA IDE, there is no problem at all to open my database like this
|
| Triggering an Excel Sub from Word | 05 Apr 2005 18:09 GMT | 3 |
I have an Excel.xla associated with an Excel document. This xla has a lot of code written to move data from the Excel sheet to the Word document. While in the Word document I want to be able to refresh the
|
| How to check the selection is empty after cut? | 05 Apr 2005 18:03 GMT | 1 |
I have the macro that use vba to select the whole text of the current document consider of a lot of pages and do cut and paste to a new document as separate pages. But the problem is if my current document is a blank document, how do i check that it is a blank and the macro ...
|