[python-win32] Word hyperLink problem and PageSetup question
kimwaic888-pythonwin32 at yahoo.com
Thu Jun 23 01:29:21 CEST 2005
Appreciate it if anybody can help me with a couple of
(1) When I use the InsertFile method to insert a .doc
file into my current DOC file, all of the hyperlinks
get messed up. In the original document, the
hyperlink is stored as an fullpath. After InsertFile,
all of the links lost the path portion of the name.
This is obviously not the intended result.
Any idea on how to fix this?
(2)Exactly how should I translate the following into
Python? (I tried but the result is not right - I don't
think I am understanding the range code properly)
Selection.MoveRight Unit:=wdCharacter, Count:=1
Selection.Start = Selection.Start + 1
.LineNumbering.Active = False
.Orientation = wdOrientLandscape
.GutterPos = wdGutterPosLeft
More information about the Python-win32