OWC spreadsheet control in MFC dialog - need to change worksheet

Trips

Well-known member
Joined
Aug 7, 2010
Messages
2,788
I added a Microsoft Office Spreadsheet control (OWC11.DLL) in MFC dialog.  Also I added  the  MFC ActiveX Control wrapper class. I am able to display the data using put_CSVData and  save  using Export.  I looked at the methods (there are nearly 138 methods listed out in wrapper class - AddIn, BeginUndo, ...etc..), but I could not find a method to change spreadsheet name (default Sheet1, Sheet2 & Sheet3),  load data into Sheet2 and expand the field width. If any one of you can help me, I really appreciate it.
Thank you,
Jay.
  <hr class="sig WeJaya

View the full article
 
Back
Top