Solved

Opening spreadsheet from AxSpreadsheet component

Posted on 2006-11-02
1
1,193 Views
Last Modified: 2012-06-21
How do you open a spreasheet inside the AxMicrosoft.Office.Interop.Owc11.AxSpreasheet component?
0
Comment
Question by:craigdev
1 Comment
 
LVL 3

Accepted Solution

by:
JeffvClayton earned 250 total points
ID: 17865160
As far as I know it has to be a spreadsheet saved as an xml file. Then to open you just enter:

 Ax1.XMLURL = "C:\MySpreadsheet.xml"


To Save

Ax1.Export(ExportPath, Microsoft.Office.Interop.Owc11.SheetExportActionEnum.ssExportActionNone, Microsoft.Office.Interop.Owc11.SheetExportFormat.ssExportXMLSpreadsheet)


ExportPath = say C:\MySpreadsheet.xml      
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
WPF - Tooltips for ComboBox items 5 37
VB.Net - For Loop Error 5 37
Visual Studio .Net 2012 and Crystal Reports 9 48
Web Form VB.Net  import CSV 4 26
This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now