View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Newboy18 Newboy18 is offline
external usenet poster
 
Posts: 14
Default 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.)




.