+ Reply to Thread
Results 1 to 12 of 12

Non contiguous cells selection in a Range in Excel for Emailing with Outlook 2007

  1. #1
    Forum Contributor nuttycongo123's Avatar
    Join Date
    01-26-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    149

    Thumbs up Non contiguous cells selection in a Range in Excel for Emailing with Outlook 2007

    Dear Old Chums ,
    See I am still at it..made a little progress but going on ..here is the mutilated code I want to edit ..attached is the dummy sheet sheet .Just need to sort out the range issue for now ..

    Please Login or Register  to view this content.
    Thanks in advance ...T-10 ,B ,J
    Regards
    N
    Attached Files Attached Files
    Last edited by nuttycongo123; 03-02-2011 at 09:28 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Different Cells as a Range Selection in Excel for Outlook 2007

    Hello,

    although you may feel that we are all your "Dear Old Chums", please be aware that not everybody here is familiar with questions you may have posted earlier.

    Above, you post code and mention a "range issue". You don't describe what the issue is. If you are interested in a solution, you'd benefit greatly from not assuming that everyone here is familiar with the situation.

    Please describe the problem in the post narrative and don't expect members to either be familiar with your situation or spend considerable time on creating a sample file to run your code and figure out what the issue is in the first place.

    cheers,

  3. #3
    Forum Contributor nuttycongo123's Avatar
    Join Date
    01-26-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    149

    Wink Re: Different Cells as a Range Selection in Excel for Outlook 2007

    Dear Mr teylyn,

    although you may feel that we are all your "Dear Old Chums", please be aware that not everybody here is familiar with questions you may have posted earlier, you post code and mention a "range issue". You don't describe what the issue is.
    I do realise that world is not a friendly place for everyone and also courtsey is not everyones virtue,but being humble can be learnt ..it's not difficult to try ...I guess may be Macro is easier ...well I have taken the possitives out of your post and am attaching a workbook .No offence ..
    Thanks in Advance and chers to you too
    N
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243

    Re: Non contiguous cells selection in a Range in Excel for Emailing with Outlook 20

    hi Nutty,

    Please note that Teylyn is just completing her voluntary responsibilities and that John (& perhaps me?) have already suggested that...
    Quote Originally Posted by jaslake View Post
    ...PS: should you start a new thread, provide a link to other threads that you feel are appropriate to your issue.
    Can you please provide a link to your previous thread so that anyone who so desires can easily become familiar with the situation?

    I'm sorry I don't have time to look at your file in detail at the moment. However, after glancing at your posted code, I recommend that you read through every line of code within the "For Each eCell In eRng" Loop. If any line does/returns exactly the same thing for every loop iteration, move the code so that it is only performed once (before the Loop begins). For example, the "Headers" & "bottom border" sections.

    btw, I suspect there are still a few tips that you can still learn from the previous thread

    hth
    Rob
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

  5. #5
    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: Non contiguous cells selection in a Range in Excel for Emailing with Outlook 20

    Hi Nutty
    I support Rob's comments. Your thread title and initial file posted gave no indication of your issue. Had I not been familiar with your previous posts, I'd not even looked at it.

    You need to help us help you. Give us ALL the information...don't assume we KNOW. Give us TOO MUCH information...we'll sift through the detritus.

    See attached.
    Attached Files Attached Files
    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.

  6. #6
    Forum Contributor nuttycongo123's Avatar
    Join Date
    01-26-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    149

    Re: Different Cells as a Range Selection in Excel for Outlook 2007

    Dear All,
    @ Ms Teylyn,
    ...Now what kind of man will ever be rude to a lady ...Was it me ???.. well I must have been knocked off or may be close to being dead to do so ..humour apart I am sorry for being not nice to you ...hell ..a lady deserves respect and I better give it to her ..Cheers .. N
    @ R
    always love you for driving home a point in best way possible
    @ J
    ..thanks for all your help always..I owe you a beer
    Last edited by nuttycongo123; 03-01-2011 at 12:04 PM.

  7. #7
    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: Non contiguous cells selection in a Range in Excel for Emailing with Outlook 20

    Hi Nutty

    For some reason I seem to have lost your PM so I can't respond to it. I recall from the PM you want to send emails ONLY to "Yes" and that you were looking for the border around the last item.

    You also asked if you should post an updated file with your new requirements. Well, perhaps yes, perhaps no.

    If you wish to send to ONLY "Yes" recipients, why do we have the "No" code? Are you suggesting you wish to CHOOSE to whom to send...either "Yes" OR "No"...or BOTH?

    Explain what you need, perhaps I can help.

  8. #8
    Forum Contributor nuttycongo123's Avatar
    Join Date
    01-26-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    149

    Re: Non contiguous cells selection in a Range in Excel for Emailing with Outlook 20

    Dear J,
    I guess My initial post wa a bit confusing ...here in I am attaching a file that explains all..
    If the condition is "No "..there should be no e mail going out ..
    thanks for your help in advance ..
    Regards
    N
    Attached Files Attached Files

  9. #9
    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: Non contiguous cells selection in a Range in Excel for Emailing with Outlook 20

    Hi Nutty

    Should be a rather simple fix...I'll get back to you.

  10. #10
    Forum Contributor nuttycongo123's Avatar
    Join Date
    01-26-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    149

    Re: Non contiguous cells selection in a Range in Excel for Emailing with Outlook 20

    No Worries J ...Hey I need your advice for a larger problem It's part of the entire configration ..would you be able to suggest ..help ..right now I am working in peicemeal basis and it still leaves a lot to be desired ...I can e mail you my workings and also work books if you are alright with it ..I will be glad if you can assist ...
    Regards
    N

  11. #11
    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: Non contiguous cells selection in a Range in Excel for Emailing with Outlook 20

    Hi Nutty

    I think I misread your post. See if this does as you require. By the way, the code should be in a General Module.
    Attached Files Attached Files

  12. #12
    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: Non contiguous cells selection in a Range in Excel for Emailing with Outlook 20

    Hi Nutty

    Regarding this
    Hey I need your advice for a larger problem It's part of the entire configration ..would you be able to suggest ..help ..right now I am working in peicemeal basis and it still leaves a lot to be desired ...I can e mail you my working
    I'd STRONGLY suggest you keep it on the Forum. You've got hundreds of better qualified individuals than I to assist you. If you wish I be involved, simply PM me that you've posted a new Thread...I'll look at it.

+ 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