Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel and IE Active Workbook Problem


Hi, I have the following situation which I am having trouble with:

I have an .xls file which executes vba code on open. This code does th
following:

1) Shows a FileOpen Dialog Box
2) Opens the file the user selects from the dialog (a .csv) file as
new work book.
3) Performs some formatting / calculation on this new work book.
4) closes the original .xls file leaving only the opened .csv file.

This all works fine if the .xls file is opened directly from window
into Excel.

The problem I have is that the .xls file is accessed using a URL and i
opened in an IE browser window. It seems to be performing all the cod
ie. file dialog opens, user selects file, slight pause while formattin
/ calculations take place but when the original xls file is closed th
browser window just becomes blank. I need someway of telling IE t
display the opened .csv file workbook. Is this possible?

I have read previous posts describing how to cause the downloaded .xl
file to open in Excel rather that a browser window. I think this woul
fix the problem but I would rather avoid this if possible as the xl
file is accessed from a hyperlink by numerous client machines and i
would be a major problem to have to mess around with the window
registry on each machine.

Any help is much appreciated.

Le

--
cottonl
-----------------------------------------------------------------------
cottonla's Profile: http://www.excelforum.com/member.php...fo&userid=2479
View this thread: http://www.excelforum.com/showthread.php?threadid=38358

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
Why does a new Excel Workbook open with IV1 as the active cell? pjwing Excel Discussion (Misc queries) 1 July 3rd 07 11:26 PM
copy worksheet from closed workbook to active workbook using vba mango Excel Worksheet Functions 6 December 9th 04 07:55 AM
Excel VBA-use variable in active cell formula problem waveracerr Excel Programming 9 February 6th 04 02:49 PM
Mailing Excel workbooks that are not active workbook Beverly[_3_] Excel Programming 11 January 15th 04 12:51 PM
Any automation calls gets hung when the Excel workbook has an active cell. S.Tremblay Excel Programming 1 November 6th 03 05:43 PM


All times are GMT +1. The time now is 02:33 PM.

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"