| Thread | Last Post | Replies |
|
| Bookmarks | 16 Jun 2007 20:31 GMT | 1 |
The sub below works well being run from a button on a toolbar. It would be nice to cut out the InputBox and instead select the text and let the macro copy that, remove white space and use that as the BookmarkName. I have tried a couple of times but am missing something - brains ...
|
| Check if macro running from email | 16 Jun 2007 02:55 GMT | 4 |
How can visual basic determine that a macro is being run from within an email (where Word is the editor) as opposed to being run from Word (not in outlook)?
|
| Return from viewing bookmark | 16 Jun 2007 01:06 GMT | 1 |
I have a short glossary of abbreviations in a document. Each item is defined as a bookmark. I want to place hyperlinks throughout the document that will take readers to the item on the glossary page.
|
| selecting field codes and copying and pasting them | 15 Jun 2007 22:43 GMT | 1 |
I have been trying to make a simple macro so that I can copy certain field codes from a document and paste them by themselves into a new document so I can look at them. When I record the macro, things work out fine as I do them: I first search to highlight the term "^d SET" ...
|
| template with dynamic content | 15 Jun 2007 21:42 GMT | 3 |
All, I have a standard corporate word template for our documentation. When we use it to create a new document it needs to be modified with the correct document numbers and change identities in the header footer and titles.
|
| Breaking up a string that part is hyperlink and part is normal text | 15 Jun 2007 20:22 GMT | 1 |
I have a list of sites that have some text at the end. This list is formated like this hyperlink<space>city,<space>state I would like to get this list to a format such as
|
| Header and footer macro | 15 Jun 2007 19:51 GMT | 4 |
I need to create a macros that will insert different headers and footers into a particular document. So far, I've created a successful macro that copies the header and footer on page 1 of a template and pastes it into page 1 of an existing document. Now for the dilemma, page 2 ...
|
| variable names ending with '$' | 15 Jun 2007 18:19 GMT | 1 |
What does it mean in VBA when a variable name ends with "$"? Thanks.
|
| Height or linecount of a cell? | 15 Jun 2007 17:13 GMT | 10 |
This is a legal document application. In a row 1 of a table, cell 1 has a variable amount of text, the number of lines may be determined by any combination of paragraphs, linefeeds, or text wrapping. In cell two, I want to use VBA to insert a series of right-parens and paras,
|
| Printing repeat pages from two trays, etc | 15 Jun 2007 16:00 GMT | 3 |
We print a lot of client letters with a file copy. The first page of the client copy has to come out on headed (always in tray 3) and any subsequent pages on plain (always in tray 2), the file copy is all on plain. The printer is a HP LJ 2430 using the PCl5 drivers. I've used ...
|
| Processing/Converting documents into templates | 15 Jun 2007 15:51 GMT | 2 |
We've got a large number of documents that are used as templates by staff, some with their own local copies, some using copies from the server. Some have their default paper size set to letter and some set to A4. This causes no end of problems at time when they're all trying to ...
|
| Creating discontiguous selection programmatically | 15 Jun 2007 15:32 GMT | 3 |
I can see how to create a discontiguous selection in the UI, but although I've tried, I can't figure out how to create one programmatically. Essentially (this is just a small part of a complex issue), I really need to REMOVE a chunk from a user's selection. That is, if in the ...
|
| Get source file name | 15 Jun 2007 14:39 GMT | 2 |
How can I get the document file name? I want to set it in the header but I can not do it. This is as far as I get (see below), when I try I get the message "The index into the specified collection is out of bounds." I suppose it is
|
| Activate Task | 15 Jun 2007 12:05 GMT | 2 |
In Windows XP, Word 2003 SP2, I use Task.Activate() to give focus to the Word window to show the document I've launched, but the Word-task doesn't activate itself, it remains blinking and I must click with the mouse to show the Word. I've tested with Task.Activate(True) and Task ...
|
| Stop user moving a logo | 15 Jun 2007 11:45 GMT | 2 |
Is there a way to prevent the moving of a logo in a template by the user? Thanks
|