ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Links in spreadsheet (https://www.excelbanter.com/excel-programming/389463-links-spreadsheet.html)

PeterW[_12_]

Links in spreadsheet
 
Hello.

I need to open a series of spreadsheets in a directory, copy a worksheet
from each and paste the worksheet into a new spreadsheet.

All of this I can do, but the spreadsheets I have to open have links to
other spreadsheets that cause the 'Update?' message box to appear.

Is there a way to send a 'don't update' response click, or any other way to
get around the message box?

Thank you for your help.

PeterW



Ron de Bruin

Links in spreadsheet
 
Hi Peter

See the tips on this page
http://www.rondebruin.nl/copy3.htm



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"PeterW" wrote in message ...
Hello.

I need to open a series of spreadsheets in a directory, copy a worksheet
from each and paste the worksheet into a new spreadsheet.

All of this I can do, but the spreadsheets I have to open have links to
other spreadsheets that cause the 'Update?' message box to appear.

Is there a way to send a 'don't update' response click, or any other way to
get around the message box?

Thank you for your help.

PeterW



FSt1

Links in spreadsheet
 
hi,
try this....

Application.DisplayAlerts = False
'your code here
Application.DisplayAlerts = True

regards
FSt1

"PeterW" wrote:

Hello.

I need to open a series of spreadsheets in a directory, copy a worksheet
from each and paste the worksheet into a new spreadsheet.

All of this I can do, but the spreadsheets I have to open have links to
other spreadsheets that cause the 'Update?' message box to appear.

Is there a way to send a 'don't update' response click, or any other way to
get around the message box?

Thank you for your help.

PeterW





All times are GMT +1. The time now is 12:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com