Visual Basic for Applications (VBA) for Microsoft Word

learn more… | top users | synonyms

0
votes
1answer
22 views

Insert a value from Excel cell to Word document

I have two documents, one Word and other Excel document(word.docx and excel.xlsx). In a Word document, I have something like " My salary for this month is (empty), and I worked (empty1) days." So ...
0
votes
2answers
16 views

VBA Word: Inserting Text Form Fields at a Specified Location

I am new to vba and developing a document that prompts the user to select a variable number of values from a combo box list. After selecting the values, I want to insert them in order onto the ...
0
votes
0answers
32 views

How to insert HTML text into Word document?

I want to insert HTML text (like <b>bold value<\b><img src="link" > and so on) into a Word document. I also want to insert the image for the image tag, not as a link but embedded ...
0
votes
1answer
23 views

Programmatic Access to Visual Basic Project is not trusted from IIS

I'm using an executable which tries to access the VBA object model programmatically by importing and running VBA macros in Word07. If I call that executable from command line everything works fine ...
1
vote
1answer
19 views

Replace Images in Word Document with string/text placeholder

I have a 2010 Word document with some images. I have already exported out the images one by one. Because of the formatting of the document's destination, I need to remove all the images and leave a ...
0
votes
1answer
23 views

Search and get string inside of Excel Cell [closed]

I have the content like "Recipient:123 Address:456 ........." in an Excel cell. Now, I need to copy 123 and 456 into a Word document. I'm thinking a way to Find " Recipient:* " in the content ...
1
vote
1answer
36 views

word vba- how to get index value of word during find

Is it possible to get the word index during .find? I do .find.text to get the word, but I need its index position, then save it in an array. normally, it is documents("doc").word(index) but ...
0
votes
2answers
35 views

word vba: paragraph symbols showing in listbox

this is my first post. I don't know why I get para. format symbols showing in my listbox. I added text to a word table, sorted it and transferred to listbox. I tried with different ...
0
votes
1answer
25 views

VBA Access Page Break

I'm fairly new to VBA and I'm trying to bring data from access form to a word document using bookmarks. The problem I'm having is that I'm finding it very hard to create a new in MS word with the next ...
0
votes
2answers
29 views

select a range of text from one Word document and copy into another Word document

I'm trying to use VBA to extract sentences in one Word document and put it into another Word document. So for example, if we need to find the title of the organization, we follow the algorithm: ...
0
votes
1answer
22 views

VBA: Reading excel data into word

I am making a simple form that extract the data from my excel sheet, such as name, date of birth, and address. And inserting them into my word form, I am doing 20-30 sheets everytime, so I think it ...
1
vote
3answers
53 views

Improving speed of code on VBA that changes color of letters

I'm very new to Visual Basic for Applications so this problem is confusing me a little. I wanted to create a code that would scan a word document and change the color of the letters to a certain color ...
-2
votes
0answers
19 views

How do i pull specfic cells from excel and insert them into word template using a macro [closed]

I am wanting to take data from excel and put it directly into a word template in a specifc location. If you could give me a hand that would be great thanks
1
vote
0answers
32 views

Creating a photo log macro in Microsoft Word

I am trying to create a macro in Microsoft Word that accomplishes the following. I have found examples of the vba code for each of these tasks but have no idea how to put it all together. I want to ...
1
vote
1answer
41 views

VBA macro: replace text in word file in all sub folders

I am putting together a VBA macro that: 1.reads a folder 2.creates a collection of all its subfolders 3.loops through all the subfolders and find any word document ending in .doc 4.in each .doc ...

1 2 3 4 5 46
15 30 50 per page