[EMAIL PROTECTED] wrote:
> Hi,
>
> How to embed object in excel using python?
Is it me, or is this a popular question at the
moment? Have a look at this post from yesterday:
http://tinyurl.com/37egtt
(Doesn't exactly answer, but at least points the way)
TJG
--
http://mail.python.org/mailman/l
Hi!
> to embed object in excel
An example come with PyWin32. This example create a toolbar inside
Excel. This toolbar is write with Python.
--
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
How to embed object in excel using python?
Thanks,
padma
--
http://mail.python.org/mailman/listinfo/python-list
Thanks Peter
Regards
Luca
--
http://mail.python.org/mailman/listinfo/python-list
Luca,
you can find a lot of answers to your questions on this discussion
group. If you will try to search using key words "excel constants" for
example, you will get the link to the following link (among others):
http://tinyurl.com/go3qf
IMHO it is good idea to search the web and discussion groups
Thanks a lot Luciano
Regards Luca
--
http://mail.python.org/mailman/listinfo/python-list
Hi Luca,
The words xlDiagonalDown e xlNone are Excel constants and don't are in
the Local NameSpace
use these values:
xlNone = -4142
xlDiagonalDown = 5
Then the last line stay like that
"""
packing.ActiveSheet.Selection.Borders(5).LineStyle = -4142
# Excel Constants: xlNone = -4142 xl
Hello here is the code:
from win32com.client import Dispatch
packing = Dispatch("Excel.Application")
packing.Visible = 1
packing.Workbooks.Add()
#packing.Worksheets.Add()
packing.ActiveSheet.Range("A1").ColumnWidth = 8
packing.ActiveSheet.Ran