+ Reply to Thread
Results 1 to 3 of 3

macro NOT WORK for cell value which contains formula(lookup)

  1. #1
    Registered User
    Join Date
    01-04-2012
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    11

    macro NOT WORK for cell value which contains formula(lookup)

    I have a macro to send email from excel.
    I have created a column "A" having email address, which infact is a lookup value from anotherworkbook.
    My problem is when value in column A is manuelly entered, the macro runs & email is sent.
    But when I use lookup formula in column A, macro gets run but no email is sent.
    Any suggestion & Help. following is part of my macro.
    Please Login or Register  to view this content.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: macro NOT WORK for cell value which contains formula(lookup)

    Hi CLASSMATE
    The immediate issue is this line of code
    Please Login or Register  to view this content.
    You've told us that
    I have created a column "A" having email address, which infact is a lookup value from anotherworkbook.
    So, Column A does NOT contain Constants and accordingly will get bypassed. You might try
    Please Login or Register  to view this content.
    Not tested.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    03-09-2012
    Location
    CT
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: macro NOT WORK for cell value which contains formula(lookup)

    Had this issue for days!!! SOLVED for me!!! THANK SO MUCH!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1