![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hello,
I am relatively new to VBA and particularly to using it with Outlook. I am using Outlook 2003 on XP. Hoping someone can help ... I currently receive between 200 - 300 emails per day (this can increase to 600 at peak times) each of which contains a hyperlink I need to activate and then print contents of the window which opens from the hyperlink. I am trying to automate the opening of the mail message, following the hyperlink, printing the browser window, closing the browser, and moving to the next message to repeat the actions until all items have been opened and printed. This is a massively mundane and time consuming process to perform manually and audit requirements demand the information be held in a hard copy format. I have been looking around the groups along with Dick's Clicks and slipstick to see if I can learn to do this using VBA. I also have Macro Scheduler v 6.0.0.14 which I can use for printing the browser window, however, I cannot find how to activate the hyperlink from the Outlook message item. For thos who have not heard of Macro Scheduler, it can be programmed to perform cross application functions and scheduled in many different ways to activate the developed macro and then repeat as necessary. Can anyone tell me if activating a hyperlink in Outlook using VBA is even possible, please? I considered trying to export (or copy/paste) the message text and/or the hyperlink to an Excel spreadsheet and following the hyperlink from there but I get stuck again with how to pull this information from the message and successfully load it into a spreadsheet so the hyperlinks are all located in one column.. It's in a standard message format with no form fields, however, the hyperlink always appears immediately following a specific set of text within the message which could help with locating the hyperlink within the message body. The standard text is: "Please click here to view the details.:" Unfortunately, the text which appears immediately before this sentence can vary in length and content otherwise I would just copy it into Excel then perform text-to-columns to load all the hyperlinks into the one column for activating. I would appreciate any guidance and advice, please. Is any of this remotely possible? Can I do it in Outlook? Would a better solution be to extract the message body text and/or hyperlink, stick it in Excel then use VBA to run down a column of hyperlinks to activate browser windows in order to have Macro Scheduler perform the print function? How do I isolate the hyperlink if this is a better solution? I am fortunate in having a spare PC which will be dedicated to this function so I can continue to perform other tasks and be a great deal more productive. Any responses would be gratefully received. TIA. Wombat. |
Ads |
#2
|
|||
|
|||
![]() |
#3
|
|||
|
|||
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help! Inspector.Close is fired before Inspector.Activate handler finishes | Sergey Anchipolevsky | Add-ins for Outlook | 8 | February 9th 06 10:51 AM |
Insert a hyperlink to section of Word doc in an outlook message | [email protected] | Outlook - General Queries | 0 | February 8th 06 06:07 AM |
how do activate spellckeck in OE | FerrisJ | Outlook - Installation | 2 | February 7th 06 03:49 PM |
Delete Custom Outlook Control thru Access VBA | Sue Mosher [MVP-Outlook] | Outlook - Using Forms | 0 | January 20th 06 06:29 PM |
List of Outlook References Through VBA | David | Outlook - General Queries | 0 | January 11th 06 12:53 AM |