View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
PatFinegan PatFinegan is offline
external usenet poster
 
Posts: 1
Default Export method question -- Spreadsheet ActiveX component on user form

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