How do I use Workbook.Add
Hi thanks for the ideas but it still asks to Update Links
and the default checkbox is still set to Update Links
This is what I have so far:
ActiveWorkbook.UpdateRemoteReferences = False
Application.DisplayAlerts = False
Workbooks.Add templateStr
Application.DisplayAlerts = True
ActiveWorkbook.UpdateRemoteReferences = True
-----Original Message-----
"Newboy18" wrote
in message
...
Thanks, but because the default is to Update the links,
wont this do the same?
Would this help you?
ActiveWorkbook.UpdateRemoteReferences = False
(Insert in code before opening template, then set back
to true again
afterwards.)
.
|