| Thread | Last Post | Replies |
|
| Error Handling | 03 Feb 2006 04:49 GMT | 4 |
Is it possible to make a macro stop executing and give a non-zero return code back to the VBScript that is executing it? I'm just putting the final polish on my first serious macro. Basically, I have a VBScript that invokes Word invisibly and invokes a macro that reads a
|
| Some font attributes work and some don't | 03 Feb 2006 04:41 GMT | 2 |
I am working on a macro that will change the formatting of revision in a track change document. Say the deletions are Red and strikethrough and insertions are Blue and italic. I want to change the formatting of deletions to bold with no strikethrough and insertions as Red with ...
|
| Variable scope | 02 Feb 2006 22:03 GMT | 4 |
I'm having some variable scope problems in VBA and would love to get an explanation of how to avoid these problems. I'm writing macros in Word 2002. At the moment, I'm polishing a series of related procedures. I have a main macro that farms out much of its work to
|
| Does a macro know its own name? Can VBA produce a stackTrace? | 02 Feb 2006 21:58 GMT | 2 |
Is there any way that a macro can determine its own name while it's executing? I am trying to polish some error handling logic. Every time I encounter something that should be written to my error log, I'd like to pass the name
|
| dialog pop up | 02 Feb 2006 20:34 GMT | 2 |
I have a template, that when it's opened I want the user to see a pop up of a message. I want them to have to press OK for it to go away before they start using the template. Is there a field code or something like that I can use? If anyone has any
|
| How do you control the background color of comments | 02 Feb 2006 18:36 GMT | 2 |
OK, this can't be hard...I am just ignorant and frustrated. Sometimes the background color of a comment is pink, sometimes blue.... So how do I control it. Thanks in advance.
|
| List users in the company | 02 Feb 2006 16:58 GMT | 2 |
In our system, users can type in different personal information, such as Department and Office, and use it in Word. Instead of typing all the information, users want to get a list, like the one in Outlook address book, choose a user, and get all the information.
|
| template change | 02 Feb 2006 16:21 GMT | 2 |
I created a new template based on an old template (same file name). I have renamed the command buttons so the code is easier to read (in the old template they were left at default CommandButton1, etc.)and added in some other functionality. Now I have a fully functional template for
|
| problem protecting word document by macro in excel | 02 Feb 2006 15:49 GMT | 2 |
I keep a log of rfi's(requests for information) in excel. when i answer them i open up a document from a template in word. i have been working on automating this process. so far i have gotten to the point where i can open a document in word, unprotect it, change some of it's
|
| Document with List Boxes | 02 Feb 2006 15:08 GMT | 1 |
I have created a word document and added list boxes that need to automatically populate when other users open the document. I used the VBE to add items to the list boxes in the Document_Open sub. Is there an easy way to to run this sub automatically when any other user opens the ...
|
| Word 2003, VBA and MailMerge | 02 Feb 2006 15:04 GMT | 1 |
I searched the Internet a bit for this, and I had trouble finding good sources. I'm looking to write vba code that will call all documents in specific folder with a .doc extension. These docs are mail merges that are all
|
| Which is better: files or textStreams? | 02 Feb 2006 14:55 GMT | 2 |
I have a macro that reads one external file and that writes entries to a log file, if and when it encounters errors. Both the external file and the log file are simple text files. I know from the VBA help that I can work with either files or textStreams
|
| Confusion: Macro Organization | 02 Feb 2006 14:47 GMT | 9 |
I am _really_ getting confused about the placement of macros! I have finished my first serious VBA macro and I'm quite happy with it; it does what I needed it to do and it doesn't _look_ too ugly, based on the code snippets I've seen in the help and newsgroups as I've built this ...
|
| One Table of Contents - Multiple Documents | 02 Feb 2006 14:34 GMT | 1 |
Almost already posted this question on the word.docmanagement NG, but it is buried pretty deeply. I have used instructions for creating a table of contents across multiple documents as suggested from:
|
| Macro to delete last section of document | 02 Feb 2006 10:08 GMT | 4 |
I'm having terrible trouble trying to write a macro that will delete the last section in a document including all the content in that section. I'm not very experienced at all in macros but I have created a routine in an ASP page wich is based on a Word Macro that I recorded.
|