Re: Why does msgbox seem to change my subroutine?
From what Chris said I believe there's more to the NewBookMark command. When a bookmark is created it needs extra parameters and also needs to be saved. As Chris mentioned the msgbox causes the acroDoc to lose focus which in turn creates the bookmark with a name "Untitled".
If we think about bookmarks like a Tree data structure then we should be adding a bookmark to a node which will be the root for child nodes (i.e. for sub-headings) for example.
I will revisit this thread with some aircode later
From what Chris said I believe there's more to the NewBookMark command. When a bookmark is created it needs extra parameters and also needs to be saved. As Chris mentioned the msgbox causes the acroDoc to lose focus which in turn creates the bookmark with a name "Untitled".
If we think about bookmarks like a Tree data structure then we should be adding a bookmark to a node which will be the root for child nodes (i.e. for sub-headings) for example.
I will revisit this thread with some aircode later