Doug Fisher
asked on
Sid's script posted on 2011-03-23
Hello
I have copied and pasted the script to parse data from Outlook into Excel but when I run the rule, I get 'Compile error: Next with For' and on the line 'Next i', the word Next is highlighted. Any help on this would be greatly appreciated.
Cheers.
I have copied and pasted the script to parse data from Outlook into Excel but when I run the rule, I get 'Compile error: Next with For' and on the line 'Next i', the word Next is highlighted. Any help on this would be greatly appreciated.
Cheers.
Please copy and paste the code here. Then select it and press the CODE button.
or at least post a link to the code ...
ASKER
Here is the link. Cheers.
https://www.experts-exchange.com/questions/26907191/How-to-parse-email-body-from-outlook-to-excel.html
https://www.experts-exchange.com/questions/26907191/How-to-parse-email-body-from-outlook-to-excel.html
Best you post the code your are running there, in case it accidentally got changed.
I did notice one duplicate variable definition, did you delete one of those SenderName declarations?
»bp
I did notice one duplicate variable definition, did you delete one of those SenderName declarations?
Dim SenderName As String, SentTime As String, MailBody As String, strFileName As String
Dim MyArray() As String, SenderName As String, Address1 As String, Address2 As String
»bp
ASKER
Hi. This is a direct copy of the code Sid had posted.
Hi
there is an example data, did you try running this one? I just check that .doc file it is pretty explanatory, perhaps you missed a step.
Good Luck,
Lyubo
there is an example data, did you try running this one? I just check that .doc file it is pretty explanatory, perhaps you missed a step.
Good Luck,
Lyubo
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.