JVRamoso02
New Member
- Joined
- Apr 29, 2016
- Messages
- 4
Hi,
I'm trying to use the code provided in the attached macro shared at https://www.rondebruin.nl/win/s1/outlook/bmail9.htm for the entry regarding "Run a macro automatic when a specific formula cell reaches a certain value" since I need to create a similar macro. Unfortunately, when I try to run the macro for sheet "MoreThenOneFormulaValueChange", it is returning to a run time error saying "Object Variable or With block variable not set". I tried to debug and the error is coming from the MailCode Module created for Outlook2 specifically for the entry "strto = Cells(FormulaCell.Row, "K").Value". Could you please help advise how I can fix and make this work? I tried to change this entry to "strto = my email address and deleted all entries containing Cells (FormulaCell.Row, "#").Value and it works, I received an email from outlook but I need to make the code above work since there will be several emails in Column K.
I really hope someone can help me fix this. Looking forward to your feedback.
I'm trying to use the code provided in the attached macro shared at https://www.rondebruin.nl/win/s1/outlook/bmail9.htm for the entry regarding "Run a macro automatic when a specific formula cell reaches a certain value" since I need to create a similar macro. Unfortunately, when I try to run the macro for sheet "MoreThenOneFormulaValueChange", it is returning to a run time error saying "Object Variable or With block variable not set". I tried to debug and the error is coming from the MailCode Module created for Outlook2 specifically for the entry "strto = Cells(FormulaCell.Row, "K").Value". Could you please help advise how I can fix and make this work? I tried to change this entry to "strto = my email address and deleted all entries containing Cells (FormulaCell.Row, "#").Value and it works, I received an email from outlook but I need to make the code above work since there will be several emails in Column K.
I really hope someone can help me fix this. Looking forward to your feedback.