Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Modifying an existing excel spreadsheet (http://www.velocityreviews.com/forums/t740515-modifying-an-existing-excel-spreadsheet.html)

Ed Keith 12-20-2010 09:56 PM

Modifying an existing excel spreadsheet
 
I have a user supplied 'template' Excel spreadsheet. I need to create a new excel spreadsheet based on the supplied template, with data filled in.

I found the tools here http://www.python-excel.org/,* and http://sourceforge.net/projects/pyexcelerator/. I have been trying to use the former, since the latter seems to be devoid of documentation (not even any docstrings).


My first thought was to copy the template, open the copy, modify it and save the modifications. But it looks like if I open an existing spreadsheet it must be read only. So I tried to* open the template, copy it to a new spreadsheet and write the new spreadsheet, but I can't seem to copy the images, and it looks like copying the formatting is going to be difficult.

Can anyone give me any tips or advice?

Thanks in advance,

** -EdK

Ed Keith

e_d_k@yahoo.com



Blog: edkeith.blogspot.com




Jon Clements 12-21-2010 03:37 PM

Re: Modifying an existing excel spreadsheet
 
On Dec 20, 9:56*pm, Ed Keith <e_...@yahoo.com> wrote:
> I have a user supplied 'template' Excel spreadsheet. I need to create a new excel spreadsheet based on the supplied template, with data filled in.
>
> I found the tools herehttp://www.python-excel.org/,*andhttp://sourceforge.net/projects/pyexcelerator/. I have been trying to use the former, since the latter seems to be devoid of documentation (not even any docstrings).
>
> My first thought was to copy the template, open the copy, modify it and save the modifications. But it looks like if I open an existing spreadsheet it must be read only. So I tried to* open the template, copy it to a new spreadsheet and write the new spreadsheet, but I can't seem to copy the images, and it looks like copying the formatting is going to be difficult.
>
> Can anyone give me any tips or advice?
>
> Thanks in advance,
>
> ** -EdK
>
> Ed Keith
>
> e_...@yahoo.com
>
> Blog: edkeith.blogspot.com


Have you tried: http://groups.google.com/group/python-excel
and searching the archives for "template"? Similar questions have
come up before there.

hth

Jon

John Machin 12-22-2010 08:51 PM

Re: Modifying an existing excel spreadsheet
 
On Dec 21, 8:56*am, Ed Keith <e_...@yahoo.com> wrote:
> I have a user supplied 'template' Excel spreadsheet. I need to create a new excel spreadsheet based on the supplied template, with data filled in.
>
> I found the tools herehttp://www.python-excel.org/,*andhttp://sourceforge.net/projects/pyexcelerator/. I have been trying to use the former, since the latter seems to be devoid of documentation (not even any docstrings).


pyExcelerator is abandonware. Use xlwt instead; it's a bug-fixed/
maintained/enhanced fork of pyExcelerator

Read the tutorial that you'll find mentioned on http://www.python-excel.org

Join the google group that's also mentioned there; look at past
questions, ask some more, ...


All times are GMT. The time now is 08:50 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57