Changing Cell Value

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to change the value of a range of cell

eg:

would like cell range d2:d9 to be filled with 1's
 
weasel, here is one way, Range("D2:D9") = "1"


--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2000 & 2003
** remove news from my email address to reply by email **
 
From a macro

Range("D2:D9").Value - 1

From the worksheet, select D2:D9, type 1 in D2, then press CTRL+ENTER.
 

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