Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Selecting cells from a list
Ladies & gents,
I'm building a list of addresses in an excel spreadsheet, ie AF3:AG3. I wish to colour the range of cells calculated. How do I make a macro select the range listed in that cell? TIA Andrew |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Selecting cells from a list
Hi
if A1 for example stroes the string 'AF3:AG3' try dim rng as range with activesheet set rng = .range("A1").value end with rng.interior.colorindex=4 -- Regards Frank Kabel Frankfurt, Germany Andrew wrote: Ladies & gents, I'm building a list of addresses in an excel spreadsheet, ie AF3:AG3. I wish to colour the range of cells calculated. How do I make a macro select the range listed in that cell? TIA Andrew |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Selecting cells from a list
Range(ActiveCell.Value).Select selects the range of cells given in the currently selected cell. HTH Helen -----Original Message----- Ladies & gents, I'm building a list of addresses in an excel spreadsheet, ie AF3:AG3. I wish to colour the range of cells calculated. How do I make a macro select the range listed in that cell? TIA Andrew . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Select a list in 1 cell by selecting an item from another list in | Excel Discussion (Misc queries) | |||
auto populate different cells when selecting from drop down list. | Excel Worksheet Functions | |||
Automatically fill cells when selecting from a drop down list | Excel Worksheet Functions | |||
Clearing cells when selecting from a drop down list | Excel Worksheet Functions | |||
Help! I want to fill cells as a result of selecting a value from a list in another cell. | Excel Worksheet Functions |