Thursday 29 August 2013

How do I select specific cells in VBA?

How do I select specific cells in VBA?

Basically I need to select specific cells on an excel sheet in vba. For
example the code should be able to select a5, a10, a15. I do not want the
cells in between them, just the ones I listed. Is there a specific
function that will do this? It seems like .Range could only take start
cell and ending cell.

No comments:

Post a Comment