itsonlyme4
Apr 27th, 2006, 08:22 AM
Not sure if this is the correct Forum for this question.. but here goes...
I have an existing Macro in Outlook that basically scans an entire Mailbox for Messages within a given data Range, dumps the data (date, email address and email message body) into an excel file and then converts the excel to .htm and places the .htm file output on a Network drive.
I would like to create a whole new Macro which will do ALMOST the same thing - utilizing part of the code from the first macro - I want to read all emails and put the email addresses ONLY into a excel file - excluding duplicates of course.
My problem is, When in Outlook, I do ALT/F11 to open the VB Editor and it pulls the code in from the first Macro.
I guess what I don't understand is - How to I create a new Macro from scratch ????
I tried going into Outlook/Tools/Macros and typing a new name and then clicking create - but it does the same thing !! it shows me the code from the first Macro!?
DO I need to create a new module or a whole new project??? Any guidance or help would be much appreciated.
signed,
a VBA Newbie
I have an existing Macro in Outlook that basically scans an entire Mailbox for Messages within a given data Range, dumps the data (date, email address and email message body) into an excel file and then converts the excel to .htm and places the .htm file output on a Network drive.
I would like to create a whole new Macro which will do ALMOST the same thing - utilizing part of the code from the first macro - I want to read all emails and put the email addresses ONLY into a excel file - excluding duplicates of course.
My problem is, When in Outlook, I do ALT/F11 to open the VB Editor and it pulls the code in from the first Macro.
I guess what I don't understand is - How to I create a new Macro from scratch ????
I tried going into Outlook/Tools/Macros and typing a new name and then clicking create - but it does the same thing !! it shows me the code from the first Macro!?
DO I need to create a new module or a whole new project??? Any guidance or help would be much appreciated.
signed,
a VBA Newbie