0 Replies Latest reply on Mar 8, 2011 4:58 AM by proxyDK

    Print problem using a macro in outlook.




      I have a problem when I'm printing pdf. attachments form outlook with a macro.

      The macro itself is working fine, but it is supposed to print the attachments in a predefined order (ascending by zip code). The first 5-12 attachments is quite random, and then the rest of the attachments is printed in descending order.

      I have approximately 100-150 attachment every day, and I wan't them to be printed ascending, but it's a mess.


      I'm using this code, but somewhere it goes wrong.


      Shell """C:\Program\Adobe\Reader 10.0\Reader\AcroRd32.exe"" /p /h """ + strFileName + """", vbHide


      Any ideas?