Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Andy S.
 
Posts: n/a
Default Opening excel spreadsheets via excel.application object w/o prompts

I'm trying to programatically open and read worksheets in a spreadsheet.
The problem is I get an interactive prompt that says "The workbook you
opened contains automatic links to information in another workbook. Do you
want to update this workbook with changes made to the other workbooks? To
update all linked information, click Yes. To keep the existing information,
click No.". This prevents my ActiveX script from finishing because it
requires interactive feedback from the user. Is there anyway to just make
excel go with the defaults?

I've been experimenting with the interactive and display alerts properties
shown in the link below to no avail. Any ideas?

http://msdn.microsoft.com/library/de...properties.asp


--

*************************************************
Andy S.


Please remove "noreply" before replying.

*************************************************


  #2   Report Post  
Andy S.
 
Posts: n/a
Default

FYI: Google answered my question --

expression.Open(FileName, UpdateLinks, ReadOnly, Format, Password,
WriteResPassword, IgnoreReadOnlyRecommended, Origin, Delimiter, Editable,
Notify, Converter, AddToMRU

http://groups.google.com/group/micro...b2ed9cfcbed5bb

"Andy S." wrote in message
...
I'm trying to programatically open and read worksheets in a spreadsheet.
The problem is I get an interactive prompt that says "The workbook you
opened contains automatic links to information in another workbook. Do
you want to update this workbook with changes made to the other workbooks?
To update all linked information, click Yes. To keep the existing
information, click No.". This prevents my ActiveX script from finishing
because it requires interactive feedback from the user. Is there anyway
to just make excel go with the defaults?

I've been experimenting with the interactive and display alerts properties
shown in the link below to no avail. Any ideas?

http://msdn.microsoft.com/library/de...properties.asp


--

*************************************************
Andy S.


Please remove "noreply" before replying.

*************************************************




  #3   Report Post  
Jim Thomlinson
 
Posts: n/a
Default

Without any code posted I can't comment specifically but there is an argument
of the open method which specifies what you want to do with the links. Off
the top of my head I believe it is UpdateLinks:= True (or false).
--
HTH...

Jim Thomlinson


"Andy S." wrote:

I'm trying to programatically open and read worksheets in a spreadsheet.
The problem is I get an interactive prompt that says "The workbook you
opened contains automatic links to information in another workbook. Do you
want to update this workbook with changes made to the other workbooks? To
update all linked information, click Yes. To keep the existing information,
click No.". This prevents my ActiveX script from finishing because it
requires interactive feedback from the user. Is there anyway to just make
excel go with the defaults?

I've been experimenting with the interactive and display alerts properties
shown in the link below to no avail. Any ideas?

http://msdn.microsoft.com/library/de...properties.asp


--

*************************************************
Andy S.


Please remove "noreply" before replying.

*************************************************



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2K3: Opening a spreadsheet, also opens book1.xls? Newtek Excel Discussion (Misc queries) 3 July 6th 05 07:56 PM
Excel Charts Linked to Spreadsheets Rich Charts and Charting in Excel 1 July 4th 05 04:36 PM
Strange Excel problem when opening an Excelbook tmarko Excel Discussion (Misc queries) 1 June 30th 05 05:41 PM
Linked Excel Spreadsheets MAB Excel Discussion (Misc queries) 0 March 24th 05 02:51 PM
Problem Opening An Excel file. - by yk ilikecy Excel Discussion (Misc queries) 0 February 4th 05 08:19 AM


All times are GMT +1. The time now is 11:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"