question about the macro vb some one help?

  • Thread starter Thread starter nader
  • Start date Start date
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
 
Hi
try something along the lines of

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

Cheers
JulieD
 

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