Selecting cells from a list

  • Thread starter Thread starter Andrew
  • Start date Start date
A

Andrew

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
 
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
 
Range(ActiveCell.Value).Select

selects the range of cells given in the currently selected
cell.

HTH
Helen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top