Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default 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
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
Select a list in 1 cell by selecting an item from another list in Jonners Excel Discussion (Misc queries) 2 July 10th 09 10:31 PM
auto populate different cells when selecting from drop down list. abitanga Excel Worksheet Functions 2 February 20th 09 11:44 PM
Automatically fill cells when selecting from a drop down list Liotta Excel Worksheet Functions 3 November 27th 08 11:10 AM
Clearing cells when selecting from a drop down list MP Excel Worksheet Functions 1 September 13th 07 03:47 AM
Help! I want to fill cells as a result of selecting a value from a list in another cell. Tricky Excel Worksheet Functions 6 August 11th 06 10:47 PM


All times are GMT +1. The time now is 11:05 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"