LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Macro to Email specific fields in a worksheet

Hello,

I am stuck working on a new macro. Currently, I have a workbook that
emails each worksheet to a specific user (based upon an email address
referenced on each worksheet in field B2. This works great, however,
the new project I am working on has one worksheet (200 entries) that I
need to email each user but only data on the sheet that relates to the
specific user.

For example, the size (23 Columns x 13 Rows) are exactly the same for
each user.

A1:W13 (with B3 containing the email address)
A14:W26 (with B16 containing the email address)
A27:W39 (with B28 containing the email address)

I could setup 200 worksheets and have the block of data (23 Columns x
13 Rows) on each worksheet and use the code I have to email each
sheet, however, it is much too hard to manage that many sheets.

Basically, code should look for an email address, if found, select
rows -2 (up two from email address found) through 11 (total of 13
rows) copy into email and send to email address specified.

Does that make sense? Any assistance would be helpful.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
macro to add row in same worksheet based on 2 fields not having a aileen Excel Programming 3 September 25th 08 06:31 PM
Email Macro specific Cells? neilcarden Excel Worksheet Functions 1 June 12th 07 07:31 PM
macro to copy specific fields to another worksheet Bud Hughes Excel Programming 1 July 31st 06 09:25 PM
macro to send excel sheet to specific email address JonnieP Excel Programming 2 November 27th 05 09:35 PM
applying a macro for a specific field to a range of fields Craig[_24_] Excel Programming 3 October 12th 05 05:27 AM


All times are GMT +1. The time now is 01:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"