VB6, How do i open (instead of edit) an excel OLE doc when it is double clicked?

  • Thread starter Thread starter TexN
  • Start date Start date
T

TexN

writting an app in vb6. i created an ole object linking to an excel
document. when it is double clicked, it enters an edit mode within my
application. how do i set the object so it actually launches excel as
the default "double-click" action, instead of edit?
 
This seems to work

Workbooks.Open FileName, 0, True

expression.Open(FileName, UpdateLinks, ReadOnly, Format, Password,
WriteResPassword, IgnoreReadOnlyRecommended, Origin, Delimiter, Editable,
Notify, Converter, AddToMru, Local, CorruptLoad)
 
Back
Top