miktek
05-02-2001, 09:53 AM
I am using Excel 97 VBA to open a new workbook and save.
e.g.
Workbooks.Add.SaveAs (sPath & FilenameTimeStamp)
I then have some code that copies sheets from the original workbook to this newly created workbook.
I then do a
Windows("filename.xls").Close which closes the original workbook and leaves the new workbook open.
Everything is fine except that when I open the new workbook later I always get this "Workbook contains links to to info in another workbook. Update all linked info or not?" message box. I didn't realize I would have these links or this message. Is there a way to stop the message or the links from happening?
Thanks,
Mike
e.g.
Workbooks.Add.SaveAs (sPath & FilenameTimeStamp)
I then have some code that copies sheets from the original workbook to this newly created workbook.
I then do a
Windows("filename.xls").Close which closes the original workbook and leaves the new workbook open.
Everything is fine except that when I open the new workbook later I always get this "Workbook contains links to to info in another workbook. Update all linked info or not?" message box. I didn't realize I would have these links or this message. Is there a way to stop the message or the links from happening?
Thanks,
Mike