Sylvain Fauveau wrote:
> I'm trying to add a textbox in word with python 2.7 / pywin 220 Under Windows
> Server 2008.
>
> from win32com.client import Dispatch, constants
> word = Dispatch('Word.Application')
> document = word.Documents.Add()
> orientation = constants.wdTextOrientationHorizontal
Hi.
I'm trying to add a textbox in word with python 2.7 / pywin 220 Under Windows
Server 2008.
from win32com.client import Dispatch, constants
word = Dispatch('Word.Application')
document = word.Documents.Add()
orientation = constants.wdTextOrientationHorizontal
left = 100
top = 100
width = 20