Export method question -- Spreadsheet ActiveX component on user form

P

PatFinegan

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.
:
 
P

PatFinegan

Anyone know if there is a better forum for posting my question -- e.g.
a forum devoted to MS Office ActiveX web components?:confused
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top