Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Excel column as datasource

Hi,
I have a worksheet which has names and addresses in the fields. I would like
to have a VBA macro such that it provides a list of names as a list drop box
and a button that says print address.

I dont know how to have the listbox get to accept the name column as a
datasource. Any help would be appreciated.

Best,
Harish S


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Excel column as datasource

Harish

It could be done in Excel only, but........

Investigate the use of Word's mailmerge feature to get Excel data to labels
and envelopes.

Doing it strictly in Excel is difficult and involves much trial and error
formatting.

http://www.mvps.org/dmcritchie/excel/mailmerg.htm

http://www.mvps.org/word/FAQs/MailMe...AMailMerge.htm

http://www.mvps.org/word/FAQs/MailMe...DataSource.htm

Gord Dibben Excel MVP

On Mon, 9 Feb 2004 22:35:32 -0600, "Harish S" wrote:

Hi,
I have a worksheet which has names and addresses in the fields. I would like
to have a VBA macro such that it provides a list of names as a list drop box
and a button that says print address.

I dont know how to have the listbox get to accept the name column as a
datasource. Any help would be appreciated.

Best,
Harish S


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Excel column as datasource

Wonderful. I did not even think about that. I will try this out and let you
know if this worked. Thanks so much for the help.

Best,
Harish S
"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Harish

It could be done in Excel only, but........

Investigate the use of Word's mailmerge feature to get Excel data to

labels
and envelopes.

Doing it strictly in Excel is difficult and involves much trial and error
formatting.

http://www.mvps.org/dmcritchie/excel/mailmerg.htm

http://www.mvps.org/word/FAQs/MailMe...AMailMerge.htm

http://www.mvps.org/word/FAQs/MailMe...DataSource.htm

Gord Dibben Excel MVP

On Mon, 9 Feb 2004 22:35:32 -0600, "Harish S" wrote:

Hi,
I have a worksheet which has names and addresses in the fields. I would

like
to have a VBA macro such that it provides a list of names as a list drop

box
and a button that says print address.

I dont know how to have the listbox get to accept the name column as a
datasource. Any help would be appreciated.

Best,
Harish S




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
Pivot Table from External Datasource of Excel Workbook Fowmy New Users to Excel 0 December 2nd 08 12:03 PM
How to refer to external datasource in Excel domain aggregate func Jim Molter Excel Worksheet Functions 0 October 25th 07 08:05 PM
How do I change the datasource location for a query in Excel 2003 StormKatt Excel Discussion (Misc queries) 1 March 2nd 07 03:10 AM
MS Excel 2000 - Change PivotTable DataSource (Access2000 database) Scott Excel Discussion (Misc queries) 0 May 30th 06 03:33 PM
Security for Viewing MS Access Databases From Excel Datasource Sam Wardill Excel Discussion (Misc queries) 0 March 28th 06 03:47 PM


All times are GMT +1. The time now is 09:10 AM.

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"