![]() ![]() I do have a number of macros I use for Outlook 2007, so I know where to create it and how to create links to it etc. ![]() ' rngPicture, wdFieldEmpty, "IncludePicture " & Chr(34) & strPicture & Chr(34) ' and now instead of the code below, here should be code for inserting cross references (text and page number) StrPicture = Replace(strPicture, " Dependency", "") RngPicture.End = rngPicture.Start + InStr(rngPicture, "Dependency") MatchWildcards:=False, Wrap:=wdFindStop, MatchCase:=False) = True Execute(FindText:="«ekran» ", Forward:=True, MatchWholeWord:=False, _ Is the code so far for finding textual refernces: Selection.HomeKey unit:=wdStoryĭo While. ![]() Insert a cross-reference on that bookmark The following code, used from another post, I know how to find this referencing text or how to find titles. (g)GUID(g) which would be named with that GUID and then reference it in each string of type So this way one could create a bookmark for each found Some chapter on page xy." What I can do is make the source application that generates the document to generate GUID of the chapter and make references like this: I need to make a Word macro to replace " «ekran» some chapterĭependency" with cross-reference like "See ekran Which are just textual references to a chapter in the document which has a title " some In that document there are strings like : From another application I'm genereting a large Word document. I'm not a Word macro developer and I have a last task I cannot make on myown. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |