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.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

GlennUK

Well-known Member
Joined
Jul 8, 2002
Messages
11,547
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,547
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.
 

Forum statistics

Threads
1,141,011
Messages
5,703,728
Members
421,311
Latest member
tanujath

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top