Author Topic: Export Excel data to list without excel  (Read 5679 times)

0 Members and 1 Guest are viewing this topic.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: Export Excel data to list without excel
« Reply #15 on: December 09, 2009, 04:17:50 PM »
interesting idea .. I hadn't thought of doing that ..

If my memory serves .. you can install PHP without a web server, by selecting CLI as the server ... of course this means the PHP file is executed via command line .. but it is executed none the less...

anyway .. I am off to get the PHP binaries now ... I have got to get this thing working ;)
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

fixo

  • Guest
Re: Export Excel data to list without excel
« Reply #16 on: December 09, 2009, 05:11:52 PM »
Interesting .. I wonder if it will install on 64 bit systems ...
I'm getting an error that it is unable to read the excel file
Just an idea
Open Notepad
Add this code
Code: [Select]


@echo off
copy C:\My.xls C:\My.csv
echo
pause
rename both files to your suit
save as cpytocsv.bat
if the file path have a blank space then
include file name in the double quotes
i.e.
"C:\My Cool File.xls"
Then double click and you will be get a csv

~'J'~

Chris

  • Swamp Rat
  • Posts: 548
Re: Export Excel data to list without excel
« Reply #17 on: December 10, 2009, 07:51:24 AM »
it doesnt appear to work, the formatting doesnt get changed just the extension.  After you do your "conversion" try opening both files via notepad, you can see that the formatting remains identical, where as, if the formatting really was changed, the csv file would be readable and actually comma delimited.
« Last Edit: December 10, 2009, 08:44:22 AM by Chris »
Christopher T. Cowgill, P.E.
AEC Collection 2020 (C3D)
Win 10

Chris

  • Swamp Rat
  • Posts: 548
Re: Export Excel data to list without excel
« Reply #18 on: December 17, 2009, 03:36:56 PM »
Anyone have any other suggestions?
Christopher T. Cowgill, P.E.
AEC Collection 2020 (C3D)
Win 10

VovKa

  • Water Moccasin
  • Posts: 1632
  • Ukraine
Re: Export Excel data to list without excel
« Reply #19 on: December 18, 2009, 12:27:27 PM »
Chris, I suggest installing OpenOffice

Chris

  • Swamp Rat
  • Posts: 548
Re: Export Excel data to list without excel
« Reply #20 on: December 18, 2009, 12:37:32 PM »
Chris, I suggest installing OpenOffice
I have, but get a message that says the Excel Object Library was not found.  And this method does not work on 64 bit because Jet Drivers are not available
Christopher T. Cowgill, P.E.
AEC Collection 2020 (C3D)
Win 10

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Export Excel data to list without excel
« Reply #21 on: December 18, 2009, 12:51:11 PM »
Just think aloud, what if you installed the Trial version & did not use Excel?


I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

Chris

  • Swamp Rat
  • Posts: 548
Re: Export Excel data to list without excel
« Reply #22 on: December 18, 2009, 12:58:56 PM »
Ok, how would i have to change your code to link into the 60 day trial of excel 2007 that comes on our 2 laptops we are having this issue on.
Christopher T. Cowgill, P.E.
AEC Collection 2020 (C3D)
Win 10

VovKa

  • Water Moccasin
  • Posts: 1632
  • Ukraine
Re: Export Excel data to list without excel
« Reply #23 on: December 18, 2009, 01:24:38 PM »
I have, but get a message that says the Excel Object Library was not found.  And this method does not work on 64 bit because Jet Drivers are not available
Does OpenOffice need Excel installed to open "xls" files?

Chris

  • Swamp Rat
  • Posts: 548
Re: Export Excel data to list without excel
« Reply #24 on: December 18, 2009, 03:03:49 PM »
no it does not.  but using CAB's program, it is calling for the excel library, if excel was never installed, there would not be an excel library.  I dont know how to tell it to call for the OpenOffice Scalc library.
Christopher T. Cowgill, P.E.
AEC Collection 2020 (C3D)
Win 10

VovKa

  • Water Moccasin
  • Posts: 1632
  • Ukraine