LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Automatic running Plug-in functions on load -- Urgent


I created a automation plugin in VB 6.0 which basically has functions t
read data from an xml file. These functions are called from Excel 200
spreadsheet cells.

The one problem that I am having is that when I launch the Excel, thes
functions are not getting called. They are getting called only when
click on the cell of the worksheet. How can I force it to call an
populate all the cell values on launch of the spreadsheet.

I tried doing the following but of no help.
I would appreciate your expert advice in this regard.
undefined
--------------------------------------------------------------------------
Sub LoadXLwithAddins()
Dim xl As Object
Dim ai As Object

Set xl = CreateObject("Excel.Application")

For Each ai In Application.AddIns
If ai.Installed Then
xl.Workbooks.Open(ai.FullName).RunAutoMacros 1
End If
Next

xl.Visible = True
Set xl = Nothing
End Sub
------------------------------------------------

--
kumar_867
-----------------------------------------------------------------------
kumar_8675's Profile: http://www.excelforum.com/member.php...fo&userid=1569
View this thread: http://www.excelforum.com/showthread.php?threadid=27242

 
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
**URGENT** - Using If Or And But functions ????????? NewAccessUser Excel Discussion (Misc queries) 2 May 29th 08 02:53 AM
Urgent Help needed - I need to stop a process that is running forever in Excel shadestreet Excel Discussion (Misc queries) 2 October 6th 05 09:59 PM
How to load Engineering Functions into the Fx function wizard? jsaval Excel Worksheet Functions 1 November 11th 04 09:47 PM
urgent, how to lock entire column upon load? shirley Excel Programming 2 February 10th 04 03:31 AM
Load Vb Functions Maurice[_3_] Excel Programming 1 July 15th 03 08:45 PM


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