the false says do not open links
Tom Rowley wrote in message <37729498...@bradycorp.com>...
Amy
Thanks, Amy for the suggestion, I didn't realize that tool option was there.
The code it creates is: Application.AskToUpdateLinks = False. It is too late
to put it in the open procedure because it happens on the open. What I did
find out is that it saves these options with the workbook, so I just
unclicked the box. The problem is now it creates a new message. External
Copy: file format is not valid. I think it is because my external linked
file is in a .csv format. Does any one know how I can get rid of this
message now? Maybe I should post this as a new question?
Thanks for your help, Tom Rowley
P.S. Bob, this doesn't work, my problem occurs on my original first opened
spreadsheet.
Let's say workbookA.xls is the workbook with the problem. Rename it to
WorkbookB.xls. Create a new workbook and name it workbookA.xls In the
new workbook, create macro named Auto_Open or Use the workbooks_Open event
and use Bob's suggestion:
Workbooks.open "WorkbookB.xls",False
That said,
I appears that, if the link can't be updated anyway, there is no reason to
have it. Select the data with the links and do Edit=>Copy and without
changing the selection, do Edit=>PasteSpecial=>Values. That should remove
the links (as long as you got all of them). Of course, only you know if
this is an appropriate approach.
Regards,
Tom Ogilvy
Tom Rowley wrote in message <37739E60...@bradycorp.com>...