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

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?
 
J

JackL

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)
 

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