Changing Cell Value

W

Weasel

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
 
P

Paul B

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 **
 
M

Myrna Larson

From a macro

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

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