Oke , figured this one out...thx to another post i found of you ;)
Thx for all the help !!!
You restored my fait in people again by doing this completely free , you're trully a wonderful woman !
Greetings from Belgium ;)
to clarify my previous post , the scrip is now working on the 'red' arrow (the normal inbox called 'Postvak In ' in dutch , but i should work on the 'green' arrow folder 'Postvak In' under folder named 'FAX' ;)
I hope this make sense, that's why i included picture ;)
Oké, thanks Diane !
I found the shellexecute error, the text at the top of the script was messed up , so i copied it again and "hoera" (dutch for yeeeeeh ;) ) everthing is working.
Now when i receive a email with an attached PDF it opens perfectly !!!
One question tough, i've got 2...
oke is now working on my outlook 2010 but got 2 more questions
only working in 'standard' inbox , how can i get it in my second 'fax' inbox ?
secondly , i'm making this for outlook 2007 to and got there an 'ShellExecute' sub of function is not difined error ?
oke , getting there i think ....
found this article
Solution: Application_Startup in ThisOutlookSession Outlook2007 does not fire « The Trusted Adviser
tried this solution and one macro started , so now going to test further
oke, did a little test with a script that i found on internet.
Sub ChangeSubjectForward(Item As Outlook.MailItem)
Item.Subject = "Test"
Set myForward = Item.Forward
myForward.Recipients.Add "firstname.lastname@example.org" (real address used of course ;) )
that's very strange, maybe something wrong with my vba ?
although it's giving me the Welcome Fax message as programmed...
MsgBox "Welcome, " & Application.GetNamespace("MAPI").CurrentUser
Application.ActiveExplorer.WindowState = olMaximized
Hi , thanx for the fast respons , unfortunally i'm doing something wrong because it't not working.
I first am trying the macro as it is (printing) , deal with openening later.
I've added this to see if macro is running , and got a confirmation , so that should be ok.
MsgBox "Welcome, " &...
Hello, i've got a little problem ;)
I'm using a pc fax to receive my faxes, then they automatically are mailed to my mail address and i get them in a normal mail with the fax as an PDF attachment.
Is there a way to open this attachment automatically when this mail is received , so i can...