View Single Post
 
Old 05-10-2018, 06:23 PM
Chrissy Chrissy is offline Windows 10 Office 2010 32bit
Novice
 
Join Date: May 2018
Posts: 2
Chrissy is on a distinguished road
Default Assistance, Macro Newbie

Hi,

I'm looking at the macro provided, and have not worked with macros since the 90s.

I understand that with each document you would need to enter the table number in this line:

Set oTbl = .Tables(INSERT TABLE NUMBER)


Where would I need to make changes for the Acronym to be entered into the First Column, and Definition in the second? Is this correct?

.Last.Cells(1).Range.Text = strFnd
.Last.Cells(2).Range.Text = strDef


I ran a test across a document and I ended up the number of times the acronym was used in the document in the second column rather than the definition?

I am using the code provided that also removes and adds rows as identified.

Cheers,
Chrissy
Reply With Quote