View Single Post
 
Old 03-31-2014, 12:34 AM
Tommes93 Tommes93 is offline Windows 7 64bit Office 2007
Novice
 
Join Date: Mar 2014
Posts: 9
Tommes93 is on a distinguished road
Default

Hi
this document must be flexible so that the user is able to put an introduction, for example, in front of the "form".
the xml code is hidden.
this should be a ms word because we got all others documents like this are in word and a change would be difficult.
same with excel.
But at the moment i found a way how to start. the next thing i need to know is if there is a way to jump to the next Headline (the best way would be if i can jump through the "document structur" or "document map") And for one step it would be helpful if i can compare the levels of the Headlines ( 2.2.3 and the next level would be 2.3, so that is see how many levels are between two headlines).
an other thing is, i need to know if under my selection /selected headline is a table.
but these steps come later and i might find help for that in the vba help or google. but if you have an idea let me know.
thanks

edit:
"Selection.GoTo what:=wdGoToHeading, which:=wdGoToNext" works fine for jumping to next headers

Last edited by Tommes93; 03-31-2014 at 02:22 AM.
Reply With Quote