It seems like the Export method always opens a second application o
Excel when the MS Office 2003 "Spreadsheet" web component is placed o
a user form. Am I missing something and is there a workaround?
To replicate: Place spreadsheet component on blank user form and ad
the following code to the form itself:
Sub UserForm_Initialize()
Dim ssConstants
Set ssConstants = Me.Spreadsheet1.Constants
Me.Spreadsheet1.Export "test.xls"
End Sub
Thanks in advance.
:
--
Message posted from
http://www.ExcelForum.com