OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Excel wks opens in writer/web instead of calc

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
tredmond
Newbie
Newbie


Joined: 11 Mar 2005
Posts: 2

PostPosted: Fri Mar 11, 2005 10:52 pm    Post subject: Excel wks opens in writer/web instead of calc Reply with quote

I have a excel wks that will not open in calc but keeps opening in writer/web
Back to top
View user's profile Send private message
probe1
Moderator
Moderator


Joined: 18 Aug 2004
Posts: 2478
Location: Chonburi Thailand Asia

PostPosted: Tue Mar 15, 2005 8:09 am    Post subject: Reply with quote

Whatever a WKS is:
I assume that you double click in Explorer on a file with *.wks extension.
Then your file association isn't correct.
Assign WKS to soffice/calc: c:\programs\openoffice\soffice -calc "%1"

or open the file with File->Open dialogue from OOo.

HTH (and works Wink
_________________
Cheers
Winfried
My Macros
DateTime2 extension: insert date, time or timestamp, formatted to your needs
Back to top
View user's profile Send private message Visit poster's website
r_vinoya
Super User
Super User


Joined: 03 Dec 2003
Posts: 619
Location: Somewhere in the Philippines

PostPosted: Tue Mar 15, 2005 5:15 pm    Post subject: Reply with quote

probe1 wrote:
Whatever a WKS is:
I assume that you double click in Explorer on a file with *.wks extension.
Then your file association isn't correct.
Assign WKS to soffice/calc: c:\programs\openoffice\soffice -calc "%1"

or open the file with File->Open dialogue from OOo.

HTH (and works Wink


I think wks means "worksheet"... is this right? So the extension would be *.xls.
_________________
# : - )
Back to top
View user's profile Send private message
tredmond
Newbie
Newbie


Joined: 11 Mar 2005
Posts: 2

PostPosted: Tue Mar 15, 2005 9:10 pm    Post subject: Reply with quote

Yes, I was abbreviating and the the issue is a extension issue, as I have other .xls files that open just find. The issue is something with the fact that the file is being downloaded from the web.

Thanks
Back to top
View user's profile Send private message
Colorado6202
General User
General User


Joined: 27 Sep 2004
Posts: 22

PostPosted: Wed Mar 16, 2005 8:54 am    Post subject: Reply with quote

.wks was the file name extension for spreadsheets created with early versions of Lotus 1-2-3 under DOS. Excel can read these and then save as native Excel files, which you can then import into OOoCalc. Lotus later went to .wk1 and .wk3 files, which you can do the same thing with.
Back to top
View user's profile Send private message
rbauer
Newbie
Newbie


Joined: 24 Mar 2005
Posts: 1

PostPosted: Thu Mar 24, 2005 9:35 am    Post subject: Reply with quote

I can confirm this behavior - it happens to me with excel files saved in what looks like xml format. I can open/view these files in notepad and it's human-readable, not the typical gibberish you would see with xls files. Anyway, OOo 1.9.79 (2.0 beta) wants to open this in Writer/Web. It makes no difference if I double-click the file in explorer, or use File->Open in Calc.

For reference, here are the first few lines from the xls file, as they appear in notepad:

<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">


<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 11">
Back to top
View user's profile Send private message
edb_gene
Newbie
Newbie


Joined: 18 Sep 2004
Posts: 2
Location: Bergen, NORWAY

PostPosted: Sun Oct 23, 2005 9:22 am    Post subject: Reply with quote

rbauer wrote:
...Anyway, OOo 1.9.79 (2.0 beta) wants to open this in Writer/Web. It makes no difference if I double-click the file in explorer, or use File->Open in Calc.

For reference, here are the first few lines from the xls file, as they appear in notepad:

<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
...
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 11">


Ah the same problem in OOo 2.0. The file you have is a Microsoft Office XP Excel 2003 file which is Microsoft's own 'SpreadSheetML' format.

If you install the (Optional) XSLT Sample filters, you will be able to export something similar. (Save As... Microsoft Excel 2003 XML)
OOo 2.0 should also be able to read the format, and it does read it's own 'Save as' file, but I've been having problems with a very simple MS-SpreadSheetML .XLS file generated my MySQL Query Browser.
I'm searching the forums for others that have seen this problem, before raising an Issue.
Back to top
View user's profile Send private message
lightsup55
Power User
Power User


Joined: 24 Jun 2005
Posts: 91
Location: Maryland, USA

PostPosted: Wed Oct 26, 2005 3:26 pm    Post subject: Reply with quote

edb_gene wrote:
Microsoft Office XP Excel 2003

Kinda like saying "Windows PC Macintosh"?

Microsoft Office XP does not include Microsoft Excel 2003.
Microsoft Office XP does include Microsoft Excel 2002 (a.k.a. Microsoft Excel XP).

So...
Don't you mean Microsoft Excel 2003 (a.k.a. Microsoft Office Excel 2003)?
_________________


Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
foxcole
Super User
Super User


Joined: 19 Jan 2006
Posts: 2771
Location: Minneapolis, Minnesota

PostPosted: Mon Oct 29, 2007 10:54 am    Post subject: Reply with quote

edb_gene wrote:
If you install the (Optional) XSLT Sample filters, you will be able to export something similar. (Save As... Microsoft Excel 2003 XML)
OOo 2.0 should also be able to read the format, and it does read it's own 'Save as' file, but I've been having problems with a very simple MS-SpreadSheetML .XLS file generated my MySQL Query Browser.
I'm searching the forums for others that have seen this problem, before raising an Issue.

Where does one find those XSLT filters?

I'm a relatively seasoned Writer user but have hardly touched Calc. Now I find I need it for a project (but can get Excel 2003 if I must)... working with xls files exported from a server-side application called InfoSource. That program generates pivot table reports that can be exported to a local Excel file (I exported it as formatted because I wanted to see if it would retain the pivot table, or DataPilot aspect, but it doesn't), and of course it exports with the <HTML> tag, so Writer for Web grabs it right away. That means I'm confirming it happens in 2.3 as well.

I guess I have two problems in all this. The first is whether it's possible to export a pivot table from Excel 2003 to Calc's DataPilot (assuming, of course, that I can create a pivot table file from the server application), and the second is whether Calc can open an xls file or whether I'd have to export it from Excel in a different format.... if i can do that and still keep the pivot table alive.
_________________
Cheers!
---Fox

WinXP Pro SP2, OOo Portable 2.3.1, OOo local 2.4 RC4
New OpenOffice forum: http://user.services.openoffice.org/en/forum/
Manuals: http://documentation.openoffice.org/manuals/index.html
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group