By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,365 Members | 2,946 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,365 IT Pros & Developers. It's quick & easy.

15 second delay when calling excel macro?

P: n/a
We've upgraded from Office 2000 to Office 2003 and now my excel macro
calls are messed up. There's about a 15 second delay from the time I
make the call in VB.NET to the time the excel macro is actually
executed.

Here's my code:

Dim oExcel As Microsoft.Office.Interop.Excel.Application

oExcel = New Microsoft.Office.Interop.Excel.Application
oExcel.Workbooks.Open(FileName:="c:\test\test.xls" )
oExcel.Run("test.xls!test.test")

I have a reference set to Microsoft Excel 11.0 Object Library.

Mar 1 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a

cr***@hotmail.com wrote:
We've upgraded from Office 2000 to Office 2003 and now my excel macro
calls are messed up. There's about a 15 second delay from the time I
make the call in VB.NET to the time the excel macro is actually
executed.

Here's my code:

Dim oExcel As Microsoft.Office.Interop.Excel.Application

oExcel = New Microsoft.Office.Interop.Excel.Application
oExcel.Workbooks.Open(FileName:="c:\test\test.xls" )
oExcel.Run("test.xls!test.test")

I have a reference set to Microsoft Excel 11.0 Object Library.


I'm using Windows 2000. I'm going to test XP to see if the problem
occurs there.

Mar 1 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.