LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default WorkbookOpen in COMAddin for CSV-files

Hello Peter,

I have test with the following steps, but cannot reproduce the issue in my
side.

1.Write an Excel AddIn(I write in managed codes, but I think that should
not be related to the problem)
--------------------Codes--------------------------------
private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
this.Application.WorkbookOpen += new
Microsoft.Office.Interop.Excel.AppEvents_WorkbookO penEventHandler(Applicatio
n_WorkbookOpen);
}

void
Application_WorkbookOpen(Microsoft.Office.Interop. Excel.Workbook Wb)
{
MessageBox.Show(Wb.Name);
}
---------------------------------------------------------------

2.Upload a test.csv file into my sharepoint site.

3.Open an IE to navigate to the test.csv file's url
(http://devforum/Temp/test.csv)

4.I see a messagebox popup before the csv file is opened in a new created
Excel instance.

I think the difference may be from,
1. The Excel version. (The event implementation may have some changes to
cause the issue.) In my side, I use the Office 2007 with SP2 and all
updates.
2. The Internet Explorer version( This process involves some actions with
IE. So how IE to download and start an Excel, open Workbook can be
different ). I am using IE8 at my side.

So could you please clarify your environment for a future investigation on
the issue?



Best regards,
Ji Zhou
Microsoft Managed Newsgroup Support Team

 
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
Unload a COMaddin [email protected] Excel Programming 4 August 13th 06 08:34 AM
WorkbookOpen Event JJ Excel Programming 2 May 11th 05 08:20 AM
workbookopen doesn't function P Westerman via OfficeKB.com Excel Discussion (Misc queries) 0 February 6th 05 05:13 PM
WorkbookOpen event unpredictable JT[_5_] Excel Programming 0 September 21st 04 12:47 PM
WorkbookOpen James[_14_] Excel Programming 2 January 30th 04 03:26 PM


All times are GMT +1. The time now is 06:53 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"