Help with xlupdatelinks

Mr_K

New Member
Joined
Jan 23, 2006
Messages
23
I have found a statement to use to update the links I have in my spreadsheet.

Now my problem is to appropriately apply it for the purpose I want it for. xlUpdateLinks is a statement I have found. I want to apply it in a way that will allow me to choose the sequence the spreadsheet should update links.

Any help in this regard is greatly appreciated.
 

Some videos you may like

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

GlennUK

Well-known Member
Joined
Jul 8, 2002
Messages
11,402
xlUpdateLinks is a statement I have found.

... there is no such statement ( as far as I know ). Did you mean UpdateLink instead maybe? The Help for that mentions the LinkSources method, which has an example in it's Help which should help you a lot.
 

Mr_K

New Member
Joined
Jan 23, 2006
Messages
23
const xlUpdateLinksUserSetting = 1

Is what I meant.

Has any one use this before?
 

GlennUK

Well-known Member
Joined
Jul 8, 2002
Messages
11,402
Mr K,

you have spotted what looks like one of the XlUpdateLinks Enumeration members ... website says:
xlUpdateLinksUserSetting Embedded OLE links are updated according to the user's settings for the specified workbook.

Look at the help for LinkSources, it has an example which should help you a lot.
 

Watch MrExcel Video

Forum statistics

Threads
1,113,919
Messages
5,545,027
Members
410,647
Latest member
bernardazar
Top