I have created a macro to refresh my workbook (recalc values, refresh links, etc).
The code to refresh links works fine but when it hits the RefreshAll I get the following error.
ActiveWorkbook.UpdateLink Name:="F:\klanten.xlsm", Type:=xlExcelLinks
ActiveWorkbook.RefreshAll

All help is appreciated!
Rather than a
RefreshAlloption you are looking for aCalculateoptionI suggest you use
Application.CalculateFullto calculate all formulaeThis link from Charles Williams on Excel Calculation Methods may prove useful