Search results

  1. A

    Why does adding MsgBox change my results?

    I don't quite understand -- am I adding bookmarks wrong or using the wrong objects or both? Great find though, thanks!
  2. A

    Why does adding MsgBox change my results?

    Even if I spam multiple Sleep 1000's and DoEvents, it doesn't change anything.
  3. A

    Why does adding MsgBox change my results?

    It doesn't seem like a timing issue. Even if I introduce Sleep commands or DoEvent commands, etc, it doesn't work.
  4. A

    Why does adding MsgBox change my results?

    Re: Why does msgbox seem to change my subroutine? There wasn't an Acrobat forum from what I saw. At any rate, why would msgbox interfere favorably? I assumed they were truly just... independent and didn't do anything. But my question is how to synthesize that underlying property in a way that...
  5. A

    Why does adding MsgBox change my results?

    Re: Why does msgbox seem to change my subroutine? Do you have Acrobat full?
  6. A

    Why does adding MsgBox change my results?

    Re: Why does msgbox seem to change my subroutine? I am ready to bash my head in over this. It just boggles me as to why this isn't working.
  7. A

    Why does adding MsgBox change my results?

    Re: Why does msgbox seem to change my subroutine? Is anyone able to replicate the error?
  8. A

    Why does adding MsgBox change my results?

    Re: Why does msgbox seem to change my subroutine? Not sure what I should be posting in response to that, but I have these global declarations, if this helps any: 'declarations: Global Const dhcRegSz = 1 Public Declare Function RegOpenKeyEx Lib "advapi32.dll" Alias _ "RegOpenKeyExA" (ByVal...
  9. A

    Why does adding MsgBox change my results?

    Re: Why does msgbox seem to change my subroutine? DoEvents unfortunately did not work either
  10. A

    Why does adding MsgBox change my results?

    Re: Why does msgbox seem to change my subroutine? That pdf is what I am using to test this with. It should post Atlanta and then spam Boston for the rest of the bookmark names.
  11. A

    Why does adding MsgBox change my results?

    Re: Why does msgbox seem to change my subroutine? It's giving me "wrong number of arguments"
  12. A

    Why does adding MsgBox change my results?

    Re: Why does msgbox seem to change my subroutine? See attached
  13. A

    Why does adding MsgBox change my results?

    Re: Why does msgbox seem to change my subroutine? Yes, same error.
  14. A

    Why does adding MsgBox change my results?

    Re: Why does msgbox seem to change my subroutine? When I run the code, the pdf opens and it shows the bookmarks being added in real time. It should be adding the Atlanta bookmark to the Atlanta page (where the text "Atlanta" is found), Boston to the Boston page, etc. It works fine with the...
  15. A

    Why does adding MsgBox change my results?

    Re: Why does msgbox seem to change my subroutine? Same error with the bookmarks, unfortunately
  16. A

    Why does adding MsgBox change my results?

    Re: Why does msgbox seem to change my subroutine? Gives me a type mismatch when I try to actually declare my array.
  17. A

    Why does adding MsgBox change my results?

    Re: Why does msgbox seem to change my subroutine? Yes, I should -- I have the full version of Acrobat. This code was pieced together from various Google sources and adjusted to my needs.
  18. A

    Why does adding MsgBox change my results?

    Re: Why does msgbox seem to change my subroutine? Sub bookmarker() Dim PDBookmarker As CAcroPDBookmark Dim AcroApp As CAcroApp Dim AVYourDoc As CAcroAVDoc Dim PDYourDoc As CAcroPDDoc Dim OfficeArray As Variant OfficeArray = Array("Atlanta", "Boston", "Casper"...
  19. A

    Why does adding MsgBox change my results?

    Re: Why does msgbox seem to change my subroutine? This is driving me nuts. This makes no sense -- why on earth is it only working with a msgbox?
  20. A

    Why does adding MsgBox change my results?

    Re: Why does msgbox seem to change my subroutine? Same error. I had also tried synthesizing something similar with a msgbox that closed after X seconds by itself. It only seems to work with a msgbox that I literally have to go click.
Back
Top Bottom