1
vote
0answers
13 views

Convert HTML to Word and embed file hyperlinks as attachments.

I have some HTML files that I'm opening with Word and saving as docx files. I have some macros I run to break the links on the graphics so that they get embedded in the doc file, but I haven't figured ...
1
vote
0answers
26 views

MS Word 2010 macro to renumber pages within the footer of all sections.

My problems is that I also have a divider page which originally I provided -1 in the page field to get the appropriate count. Could you please advise how I can manipulate the macro to take this back ...
0
votes
1answer
481 views

How do I select text between two “bookmarks” in Word VBA?

Note: Originally I asked how to select text from a certain point downward, but I've got a solution for that: Dim f As Word.Field For Each f In ActiveDocument.Fields If f.Type = wdFieldAddin And ...
0
votes
0answers
48 views

Force pasted address to show on one line separated by commas

I am pasting addresses into a cell in my document before printing. The cell is wide but not very tall which means when the address is pasted into the cell the bottom couple of lines are not visible. ...
0
votes
0answers
26 views

Macro for hiding table colums, in multipile files, and another on to reverse it

I know almost anything about VBA so I can't really code the Macro that I need for MS Word. I hope that I could get some help here. The basic functionality that I want is to take a Word document with ...
0
votes
1answer
43 views

What's the most portable way to easily allow users to add a letterhead to a Word document?

I would like a way to allow users to easily add a letterhead (some text and a logo) to pre-existing Microsoft Word documents. Methods I have considered have been macros, templates, and quick-parts, ...
0
votes
0answers
27 views

MS-Word MacroButtons are highlighted when clicked

I'm building a Word doc with collapsible bookmarks and using MacroButtons to collapse and expand the text defined by a given bookmark. For example, the code to toggle the bookmark named 'Alcohol' is: ...
0
votes
1answer
20 views

How to size multiple images in Word 2011 via macro

I am importing screen shots from an Evernote file, into Word 2011 (Mac OS X). They look fine in Evernote, but are huge (20") in Word 2011. I need to quickly shrink them to 4" wide, and center them. ...
-1
votes
2answers
42 views

How to assign a MS Word macro to a hotkey? [duplicate]

I've created a macro in MS Word 2007, but to run it, it seems I have to open Developer > Macros > Run each time. Surely there is a way to run this over and over with a hotkey, but how?
1
vote
1answer
147 views

Word or LibreOffice/OpenOffice - How to automatically insert footnote text in document body at footnote reference mark?

I have some docx documents that contain a lot of footnotes with usually a short footnote text (e.g. "Richard 2010." or "see section xy"). It's much more convenient to have these in the document body ...
1
vote
1answer
81 views

Word 2010 Macro help - Convert table to fit print layout width

I have a bunch of word docs that I've converted from HTML, which look OK in web layout, but when we switch to print layout, they are chopped off on the right hand side. I have a macro I use to convert ...
-1
votes
1answer
70 views

How can I swap the position of all pictures in a Word Document with the picture above?

I have a Word document with a lot of pictures (they were added by drag & drop from the desktop and are saved in the file, not just linked to the files on the desktop), seperated by 0 to 2 lines of ...
1
vote
1answer
1k views

Copying data from multiple word docs into one excel sheet

I have about 4000 doc and docx files which contain a table. I've managed to import these into one excel sheet using the following script: Sub Macro1() Dim xl As Object Set xl = ...
0
votes
1answer
686 views

How can I apply a style to the footer in Word 2010 with VBA?

I have a macro in a Word document that generates a footer based on Bookmarks. It works, except for one detail: in one of the Ref-fields in the footer, the font is always incorrect after updating. ...
2
votes
4answers
2k views

Word 2010 How to Create a Macro to auto-insert Author Name in the Footer?

In a template document I want to create a macro that when the template is opened and a new document is pulled up, the "author" name will automatically insert into the footer. Is this possible? I don't ...
0
votes
1answer
116 views

How do I customise MS Word's UI to make commands easier to access?

The question is as stated above in the title. What follows is just background info you can freely skip... Someone posted an off-topic mini-rant as a comment on one of my answers, bemoaning the loss ...
1
vote
0answers
100 views

Pasting and re-sizing a screenshot

I often take screen shots of random drawings and i want to re-size them using a macro. I want the macro to automatically paste the screenshot then re-size it to fit to a height of 5.9 inches and a ...
1
vote
2answers
3k views

How to find document variables in MS Word without using a Macro

I have document with some document variables in and I'm trying to use those variables in the document. But since the variables are set by an external system (which is not well documented) I'm playing ...
1
vote
1answer
225 views

Inserting pictures automatically using their file paths in the text

I have a text document where image paths are written explicitly such as: Lorem ipsum dolor sit amet, consectetur adipiscing elit. c:\Users\userx\Documents\img_000180.jpg I am looking for some ...
0
votes
1answer
40 views

Office 2007: assign a different keyboard shortcut to “find”

I'm trying to assign a single key (F2) to the "find" command, but I cannot find it in the list of commands. As you can see here, I can see the "find" command when it comes to add it to the Quick ...
1
vote
0answers
53 views

Using Macros for Automatic Formatting in Word?

We're trying to create something that will allow us to copy lines from a technical document which is unformatted and in font X, and paste them into a form or into something that will produce it in a ...
0
votes
2answers
259 views

Turning paragraph count in MS word into a useable Variable for looping

I have a macro that lifts a selected amount of text from Document A, pastes it into document B, polls Word for the total number of paragraphs in document B, then does a routine to that text in ...
0
votes
0answers
2k views

Missing macros in Word 365

I'm hoping someone can help with this problem. I've just upgraded from preview to Office 365 and the problem is present in both versions (but not in the Office 2010 that I was using before). Whenever ...
0
votes
1answer
146 views

Never save Word Template?

Is there a way to never save templates in Word? We have a lot of templates that we use to create standard documents. When a document based on one of these templates is closed, the user is asked if ...
0
votes
1answer
346 views

How should I load a macro into MS Word 2010 to use it when editing an RTF file?

I've been working with many looooong RTF files filled with exam questions. I edit these in MS Word 2010. I've written a macro that will renumber those questions since the original numbering is far ...
2
votes
1answer
105 views

How to register a macro programmatically?

I have like 700 machines in which I need to deploy a new macro we have created. Is there any way to do this via cmd?
0
votes
1answer
147 views

How do I compile word document reports into a single report?

I would like to take several word documents and collate them into one. I'm wondering if there is a way to use templates, form fields, macros, etc to streamline this process. We have several team ...
2
votes
1answer
713 views

Microsoft Word: Auto-filling other form elements basing on contents of first one

I'm trying to set up a form in Word that includes several fields that get duplicated in various spots in the document, like First Name, Last Name, etc. I want the user to be able to enter each ...
2
votes
1answer
158 views

Microsoft Word 2003 - Debug loading times?

Loading new and most local documents is fast as hell, but a few specific documents can take up to 10 minutes to load, which is not acceptable. I know that these documents have macros enabled and ...
0
votes
1answer
584 views

How can I trigger a macro when clicking a forms toolbar checkbox in Microsoft Word 2002/3?

I've been given a form in Word 2002 that will be used by 2002-2010 users across the organisation which I've been asked to automate. After struggling with hiding the Controls Toolbox toolbar ...
3
votes
0answers
90 views

Is there a FOSS macro somewhere that will convert tabs to the spaces up to the next tab mark?

Would like to ensure text documents don't get mangled by badly behaving email clients on smart phones that mangle tabs, so would want to convert tabs to the number of spaces up to the next tab mark in ...
1
vote
2answers
1k views

Microsoft Word keyboard shortcuts for macros aren't working

At work, I have several Word 2007 macros in a Normal.dotm template. Under Windows XP, I had some of the macros assigned to keyboard shortcuts, e.g. Ctrl+Shift+9. Everything worked perfectly. Our IT ...
0
votes
1answer
3k views

Word Macro - auto increment invoice number and file name on save

We're developing an invoice template for Word, which contains an invoice number in a field at the top of the page. We would like the invoice number to auto-increment (from the last invoice number), ...
0
votes
2answers
1k views

Microsoft Access Macro - is there a way to copy records with a macro?

I have written a macro in Microst Access that runs a make-table query, opens the table and selects all the records. (I don't know VBA so I have to use macros). Then I copy all the records and ...
3
votes
1answer
6k views

Word: Resize Image by Percent - Macro

I routinely paste many screen captures into Microsoft Word 2007 and then have to manually resize them to around 75%, which becomes very tedious. The screen captures are all different sizes. I've ...
1
vote
2answers
2k views

Office 2010 macro issues

I have some macro enabled word documents that worked fine in Word 2003, but in 2010 I cannot get the macro security settings to behave properly. When I first open a macro enabled document, I get this ...
1
vote
1answer
2k views

How to add instructional placeholder text to a Word 2007 template

I am creating a Word 2007 template for others to use as a starting point for creating Product Requirements documents. I would like to embed instructional text in the template which will guide users ...
3
votes
2answers
2k views

Word macro: how to replace strings in a text, based on a 2 column-table?

So I have a series of strings that I'd like to search and replace in Word documents. My strings would be displayed as a two-column table. I'd probably create the table with Word, then would convert ...
0
votes
0answers
762 views

Macro to sharpen all images in word document

I have a 500+ page document with a lot of images. I need to convert all of these to grayscale and to increase sharpness by 40%. Both of these tasks can be done by right clicking each image and ...
2
votes
1answer
338 views

Macro Find: Is there a macro to Format a Word Document as if it were beign created in VBA?

I have a lots of code(for Excel) in Vba and would like to transfer a copy of it into a word document. Does anyone know of a macro that will format the word document to treat the code as if it were in ...
0
votes
1answer
135 views

How to copy a file to network folder under OS X and Word 2004/2011

I am using Mac OS X. I have Word 2004 / Word 2011 on my Macs. I need to know how to create a text file under Word 2004/2011 and copy that file to my network share folder. I have to write a macro ...
6
votes
1answer
384 views

Word 2007 macro gone

I have programmed a little macro for text search in Word 2007. I tried to install it on other accounts in our company with very strange results. On two accounts it worked like it should. On other two ...
2
votes
1answer
1k views

Replace <b>…</b> with bold in MS Word with macros

I have seen the posting for Replace bold text with … in MS Word without macros. How can I do the opposite? How can I open up a .txt file that has html tags in it like here is ...
1
vote
1answer
75 views

I need to duplicate a word file and name it based on an excel list or other list format

I have a base word file that I need to copy and name approximately 300 times. The content of the word file will be the same, but the file name will be different based on a column within excel (or a ...
1
vote
1answer
866 views

Preventing a confirmation pop-up when updating fields in Word

In Word 2007, an obvious candidate for updating all the fields in a range is myrange.Fields.Update But if the range is the element of ActiveDocument.StoryRanges corresponding to the footnotes, ...
0
votes
1answer
107 views

Looking to append a tab separated line from word to excel with a macro

Or something.... Word is integrated with our software so it does only one account at a time. Each tab separated line is formatted like: name address acct# dob amtdue For each account I have to load ...
0
votes
1answer
409 views

Enabling macros in a word file

How do we enable macros in a MS Word document. Assume i have a document with many questions and answer choices. I am not able to see the correct answers. I found a suggestion like enable macros in ...
0
votes
2answers
204 views

getting started with macros programming in word 2007 [closed]

I just came to know that macros in word/excel/powerpoint can be programmed. That is awesome because I've a word document with 70 tables for styling. I'm a programmer but I don't know VB or VBA or VB ...
0
votes
1answer
712 views

Insert set of fields/document properties automatically

I'm fairly new to Word 2007. (Coming more from a Linux/text editor background.) Each time I create a document within Word 2007, I add a set of details to the start of the document. It's the same ...
1
vote
1answer
660 views

Outlook, Word, and normal.dot (2003 Edition)

I have one user that for some reason has been having macro issues with her normal.dot file. At first the fix was just remove the file because she isn't actually needing to save anything. This was ...