ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VB6, How do i open (instead of edit) an excel OLE doc when it is double clicked? (https://www.excelbanter.com/excel-programming/341630-vb6-how-do-i-open-instead-edit-excel-ole-doc-when-double-clicked.html)

TexN

VB6, How do i open (instead of edit) an excel OLE doc when it is double clicked?
 
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?


JackL

VB6, How do i open (instead of edit) an excel OLE doc when it is d
 
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)

"TexN" wrote:

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?




All times are GMT +1. The time now is 08:05 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com