Hi_release_2 !

>>> Anyway I wonder if this could be found in MSDN documentation or in word
>>> macro itself....just for the next time I am in the same situation...

First, for to find, I have make a word's macro, with :
        reponse = MsgBox(wdFormatText, vbOKOnly, "wdFormatText")


Then, I had make a macro, for to list all constants :

Sub Macro6()
    Dim i&, X As Object, Y As Object, R As Object, mbr As Object
    Set X = CreateObject("TLI.TLIApplication")
    Set Y = X.TypeLibInfoFromFile("C:\Program Files\Microsoft
Office\Office10\Msword.olb")
    For Each R In Y.Constants
        For Each mbr In R.Members
            i = i + 1
            Selection.TypeText Text:=mbr.Name
            Selection.TypeText Text:="="
            Selection.TypeText Text:=mbr.Value
            Selection.TypeParagraph
        Next mbr
        Selection.TypeParagraph
    Next R
    Set Y = Nothing
    Set X = Nothing
    Set R = Nothing
    Set mbr = Nothing
End Sub

Result : 63 pages, for to list the constants !


But ("TLI.TLIApplication") is installed only by Visual-Studio (I don't
have...)
Then...  I had found the good file (tlbinf32.dll) ont a DK site (URL:
http://lambdasoft.dk)



And then, I remembered MakePy (in PinWin). MakePy gives all information.
Thanks, M. Hammond.



Good luck !       And sorry for my *bad english*


@-salutations
-- 
Michel Claveau
mél : http://cerbermail.com/?6J1TthIa8B
sites : http://mclaveau.com   http://bergoiata.org   http://ponx.org
newsgroups (utilisateur: "zoo"   passe: "entrer") :
     news://news.zoo-logique.org/programmation.Paradox
     news://news.zoo-logique.org/ponx
     news://news.zoo-logique.org/éàç`?°çïa&ô|[EMAIL PROTECTED]'





_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to