question about the macro vb some one help?

N

nader

I use the mecro to print data in the cells of excel
so I put this code : cells .cells=8 for that, it print the number(5)
in all of the cells
I want to print in specify cells like : a1, b2 ..etc
how caN I DO that.
and thankyou for hel
 
J

JulieD

Hi
try something along the lines of

Range("A1,B1,C1").Value = 5
or
Range("A1:C1").value = 5

Cheers
JulieD
 
Top