Link to home
Start Free TrialLog in
Avatar of Doug Fisher
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.
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Please copy and paste the code here. Then select it and press the CODE button.
or at least post a link to the code ...
Avatar of Doug Fisher
Doug Fisher

ASKER

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?

    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

Open in new window


»bp
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
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial