PC Review


Reply
Thread Tools Rate Thread

Adding list box

 
 
Jodie
Guest
Posts: n/a
 
      22nd Dec 2009
Is is possible to write a macro to create a list box that uses information
from a named range? The user would only be able to select one item from the
range.
--
Thank you, Jodie
 
Reply With Quote
 
 
 
 
JLGWhiz
Guest
Posts: n/a
 
      22nd Dec 2009
This will give you an idea:

http://www.ehow.com/how_2056378_crea...ual-basic.html


"Jodie" <(E-Mail Removed)> wrote in message
news:16635B79-5F9B-46A9-8571-(E-Mail Removed)...
> Is is possible to write a macro to create a list box that uses information
> from a named range? The user would only be able to select one item from
> the
> range.
> --
> Thank you, Jodie



 
Reply With Quote
 
Neptune Dinosaur
Guest
Posts: n/a
 
      23rd Dec 2009
If you are doing from a worksheet (as distinct from a user form) you can use
Excel's built-in Validation function (under Data Validation on the Data
menu). You use "List" in the "Allow" box and you name the Range in the
"Source" box, preceded by the "=" sign.


--
Time is just the thing that keeps everything from happening all at once


"Jodie" wrote:

> Is is possible to write a macro to create a list box that uses information
> from a named range? The user would only be able to select one item from the
> range.
> --
> Thank you, Jodie

 
Reply With Quote
 
Jodie
Guest
Posts: n/a
 
      23rd Dec 2009
Thank you Neptune. I was actually wanting to write this in code. I do have
my answer now though. Again, thanks for your help.
--
Thank you, Jodie


"Neptune Dinosaur" wrote:

> If you are doing from a worksheet (as distinct from a user form) you can use
> Excel's built-in Validation function (under Data Validation on the Data
> menu). You use "List" in the "Allow" box and you name the Range in the
> "Source" box, preceded by the "=" sign.
>
>
> --
> Time is just the thing that keeps everything from happening all at once
>
>
> "Jodie" wrote:
>
> > Is is possible to write a macro to create a list box that uses information
> > from a named range? The user would only be able to select one item from the
> > range.
> > --
> > Thank you, Jodie

 
Reply With Quote
 
Jodie
Guest
Posts: n/a
 
      23rd Dec 2009
Thanks, this looks useful.

--
Thank you, Jodie


"JLGWhiz" wrote:

> This will give you an idea:
>
> http://www.ehow.com/how_2056378_crea...ual-basic.html
>
>
> "Jodie" <(E-Mail Removed)> wrote in message
> news:16635B79-5F9B-46A9-8571-(E-Mail Removed)...
> > Is is possible to write a macro to create a list box that uses information
> > from a named range? The user would only be able to select one item from
> > the
> > range.
> > --
> > Thank you, Jodie

>
>
> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically extend a list when adding a new data to another list JB Microsoft Excel Misc 0 25th Mar 2010 02:50 PM
adding another item to a list of fields coming from a table inside of a list control thread Microsoft Access 8 28th Feb 2007 07:06 PM
Adding Contact and Distribution List Names to a List =?Utf-8?B?Q2xhcmtl?= Microsoft Outlook VBA Programming 1 4th Jan 2005 05:29 PM
OL2002: Adding list of contacts to a Distribution List after search PHiL M. Microsoft Outlook Contacts 9 15th Apr 2004 01:54 PM
Re: Adding file list to list or combo control Michael Daly Microsoft Access Form Coding 0 2nd Sep 2003 07:28 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:43 AM.