Hi, gjh,
check the security level for macors (Tools/Macro/Security) which should be set to medium.
This code should go into a module, I opted for a choice for the (old) file to be opened:
Sub CopyValues()
Dim wbData As Workbook
Dim wbOld As Workbook
Dim varFileToOpen As Variant
Dim rngUsed As...