I am currently attempting to optimize some code. Currently, I use ActiveWorkbook.RefreshAll
which slows the whole run time down significantly, in actual fact I only need to refresh two worksheet in the workbook. Does a function such as Worksheet("Name").RefreshAll
exist? I am aware of .calculate, but I don't think it will update my pivot tables as well as calculation in the given sheets.
Regards