<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic excel formatting in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/excel-formatting/m-p/3914129#M35240</link>
    <description>Does anyone have any suggestions on methods or software for creating true excel format files on VMS. We create many csv format files and e-mail them directly to users from VMS. Unfortunately, many of these users are very limited in their computer skills and are unable (or unwilling!) to go through the text to column formatting that is available in excel. I would like to deliver the e-mail attachment to them in true excel format which they can simply click to open and have a nicely formatted spreadsheet. &lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any assistance.</description>
    <pubDate>Sat, 16 Dec 2006 13:03:27 GMT</pubDate>
    <dc:creator>Jerry Rieman</dc:creator>
    <dc:date>2006-12-16T13:03:27Z</dc:date>
    <item>
      <title>excel formatting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/excel-formatting/m-p/3914129#M35240</link>
      <description>Does anyone have any suggestions on methods or software for creating true excel format files on VMS. We create many csv format files and e-mail them directly to users from VMS. Unfortunately, many of these users are very limited in their computer skills and are unable (or unwilling!) to go through the text to column formatting that is available in excel. I would like to deliver the e-mail attachment to them in true excel format which they can simply click to open and have a nicely formatted spreadsheet. &lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any assistance.</description>
      <pubDate>Sat, 16 Dec 2006 13:03:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/excel-formatting/m-p/3914129#M35240</guid>
      <dc:creator>Jerry Rieman</dc:creator>
      <dc:date>2006-12-16T13:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: excel formatting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/excel-formatting/m-p/3914130#M35241</link>
      <description>Hmm,&lt;BR /&gt;&lt;BR /&gt;If csv files are named .csv then the default open under Windoze activates excel without needing to do the text-to-column.&lt;BR /&gt;&lt;BR /&gt;I don't think there is a Perl OLE.pm module available for OpenVMS, that woudl be too easy :-)&lt;BR /&gt;&lt;BR /&gt;XL97 and up can read a HTML table saved with an .xls extension. &lt;BR /&gt;This allows you to add some basic formatting which will be preserved &lt;BR /&gt;when the file is opened in XL. Just write out a text file with the table &lt;BR /&gt;from &lt;TABLE&gt; to &lt;/TABLE&gt; and give it an .xls extension (if you want to &lt;BR /&gt;link to it)&lt;BR /&gt;&lt;BR /&gt;I just tried it, going into excel first, and saving a trivial worksheet as html. Then rename to xls, Use notepad to change some entries to prove you can play with with, re-display with excel.&lt;BR /&gt;&lt;BR /&gt;Use the excel saved table text as template for an alternative to .csv.&lt;BR /&gt;An interesting benefit could be that you can use a browser on OpenVMS to pre-view the information.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Sat, 16 Dec 2006 15:26:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/excel-formatting/m-p/3914130#M35241</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-12-16T15:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: excel formatting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/excel-formatting/m-p/3914131#M35242</link>
      <description>Python for OpenVMS include 2 modules doing this: pyXLWriter and pyXLWriter&lt;BR /&gt;&lt;BR /&gt;The first one is obsolete and replace by the second one.&lt;BR /&gt;&lt;BR /&gt;From &lt;A href="http://sourceforge.net/projects/pyexcelerator" target="_blank"&gt;http://sourceforge.net/projects/pyexcelerator&lt;/A&gt;&lt;BR /&gt;"""&lt;BR /&gt;Generating Excel 97+ files with Python 2.4+ (need decorators), importing Excel 95+ files, support for UNICODE in Excel files, using variety of formatting features and printing options, Excel files and OLE2 compound files dumper. No need in Windows/COM&lt;BR /&gt;"""&lt;BR /&gt;&lt;BR /&gt;JF</description>
      <pubDate>Sun, 17 Dec 2006 12:36:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/excel-formatting/m-p/3914131#M35242</guid>
      <dc:creator>Jean-François Piéronne</dc:creator>
      <dc:date>2006-12-17T12:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: excel formatting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/excel-formatting/m-p/3914132#M35243</link>
      <description>other options ...&lt;BR /&gt;&lt;BR /&gt;Leave the data as csv, but provide a macro to do the formatting.&lt;BR /&gt;see &lt;A href="http://support.microsoft.com/kb/272729" target="_blank"&gt;http://support.microsoft.com/kb/272729&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You could construct an XML file instead of csv and then use excel to open as a read-only workbook.&lt;BR /&gt;see &lt;A href="http://office.microsoft.com/en-us/excel/HA011019641033.aspx" target="_blank"&gt;http://office.microsoft.com/en-us/excel/HA011019641033.aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Phil</description>
      <pubDate>Mon, 18 Dec 2006 01:42:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/excel-formatting/m-p/3914132#M35243</guid>
      <dc:creator>Phil.Howell</dc:creator>
      <dc:date>2006-12-18T01:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: excel formatting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/excel-formatting/m-p/3914133#M35244</link>
      <description>Jerry,&lt;BR /&gt;  PHP is capable of creating Excel, Word, PDF, etc files :-&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://pear.php.net/manual/en/package.fileformats.spreadsheet-excel-writer.intro.php" target="_blank"&gt;http://pear.php.net/manual/en/package.fileformats.spreadsheet-excel-writer.intro.php&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;PHP comes free with VMS, and the advantage is it's very easy to learn and create new scripts.&lt;BR /&gt;&lt;BR /&gt;Rob.</description>
      <pubDate>Mon, 18 Dec 2006 03:57:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/excel-formatting/m-p/3914133#M35244</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-12-18T03:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: excel formatting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/excel-formatting/m-p/3914134#M35245</link>
      <description>&lt;BR /&gt;You can simply just use MIME on the VMS side and then email the file to the users just as you're doing now.  Is that not good enough?&lt;BR /&gt;&lt;BR /&gt;$ mime  :== $SYS$SYSTEM:MIME.EXE&lt;BR /&gt;$ mime&lt;BR /&gt;MIME&amp;gt; new filetosend.csv&lt;BR /&gt;*exit&lt;BR /&gt;MIME&amp;gt; add yourcsv.csv&lt;BR /&gt;MIME&amp;gt; save&lt;BR /&gt;MIME&amp;gt; exit&lt;BR /&gt;$ mail/subj="blah" filetosend.csv "me@me.com"&lt;BR /&gt;&lt;BR /&gt;The Outlook recipient should be able to double-click on the attachment and get a nicely formatted CSV file in EXCEL.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Dec 2006 12:26:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/excel-formatting/m-p/3914134#M35245</guid>
      <dc:creator>EdgarZamora_1</dc:creator>
      <dc:date>2006-12-18T12:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: excel formatting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/excel-formatting/m-p/3914135#M35246</link>
      <description>Hein, there is a Perl module called Spreadshet::WriteExcel:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://search.cpan.org/~jmcnamara/Spreadsheet-WriteExcel-2.17/" target="_blank"&gt;http://search.cpan.org/~jmcnamara/Spreadsheet-WriteExcel-2.17/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I can't remember if I've ever used it on OpenVMS, but it's pure Perl (no C compiler necessary) so it should be easy enough to install if you have Perl.  &lt;BR /&gt;&lt;BR /&gt;I have used the Perl module RTF::Writer on VMS to create tabular reports in rich text format, and as others have indicated, there are a number of ways to create and send files in PC-friendly formats.  &lt;BR /&gt;&lt;BR /&gt;What the OP chooses to use as a solution depends in part on where the data are coming from and what tools he is comfortable using.  I.e., do you need to pull data out of a database or RMS indexed file?  What methods do you currently use to do that?  Which of the many methods for sending e-mail attachments are you using or comfortable with?&lt;BR /&gt;&lt;BR /&gt;As an example, if I had data in an RMS indexed file that needed to be sent as an Excel attachment, I would use Perl and the modules VMS::IndexedFile to retrieve the data, Spreadsheet::WriteExcel to generate the reports, and MIME::Lite to send the files as e-mail attachments.</description>
      <pubDate>Mon, 18 Dec 2006 12:42:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/excel-formatting/m-p/3914135#M35246</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2006-12-18T12:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: excel formatting</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/excel-formatting/m-p/3914136#M35247</link>
      <description>&lt;BR /&gt;We generate tab delimited files from a browser based database.  The user downloads these and Excel seems to handle the format with less user prompting.  &lt;BR /&gt;&lt;BR /&gt;Andy</description>
      <pubDate>Mon, 18 Dec 2006 14:09:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/excel-formatting/m-p/3914136#M35247</guid>
      <dc:creator>Andy Bustamante</dc:creator>
      <dc:date>2006-12-18T14:09:09Z</dc:date>
    </item>
  </channel>
</rss>

