#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,069
Default Macro Help

I have a listing of customer with information that needs to be transferred to
a letter. When some of this information is changed we need to send a new
letter. I know how to create a Macro that will transfer the information for
one customer. But I do not want to creat 60 + buttons for each customer.
What I would like to do is create a Macro (button) that will ask what
Customer do I want to send a letter to and all the information for that
customer will be transferred to the letter.

Thanks in advance for any help
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Macro Help

This site may be of some use to you: http://www.rondebruin.nl/sendmail.htm

Dave
--
Brevity is the soul of wit.


"John" wrote:

I have a listing of customer with information that needs to be transferred to
a letter. When some of this information is changed we need to send a new
letter. I know how to create a Macro that will transfer the information for
one customer. But I do not want to creat 60 + buttons for each customer.
What I would like to do is create a Macro (button) that will ask what
Customer do I want to send a letter to and all the information for that
customer will be transferred to the letter.

Thanks in advance for any help

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Macro Help

John

Use DataFilterAutofilter to get the information for the customer you choose.

You can record a macro whilst doing the filtering.

Add that to the macro you have.


Gord Dibben MS Excel MVP


On Fri, 19 Jan 2007 12:18:43 -0800, John wrote:

I have a listing of customer with information that needs to be transferred to
a letter. When some of this information is changed we need to send a new
letter. I know how to create a Macro that will transfer the information for
one customer. But I do not want to creat 60 + buttons for each customer.
What I would like to do is create a Macro (button) that will ask what
Customer do I want to send a letter to and all the information for that
customer will be transferred to the letter.

Thanks in advance for any help


Reply
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
error when running cut & paste macro Otto Moehrbach Excel Worksheet Functions 4 August 9th 06 01:49 PM
Compiling macro based on cell values simonsmith Excel Discussion (Misc queries) 1 May 16th 06 08:31 PM
Search, Copy, Paste Macro in Excel [email protected] Excel Worksheet Functions 0 January 3rd 06 06:51 PM
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
Highlight Range - wrong macro, please edit. Danny Excel Worksheet Functions 8 October 19th 05 11:11 PM


All times are GMT +1. The time now is 10:58 PM.

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

About Us

"It's about Microsoft Excel"