View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ron de Bruin Ron de Bruin is offline
external usenet poster
 
Posts: 11,123
Default Selecting Variable Rows

Hi Matt

Try this

Rows(X & ":" & Y).Select


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Matt D." wrote in message ...
Hello,

I am attempting to get some code to work that looks like:

X = X + 95
Y = Y + 95
Rows("X:Y").Select

Basically I need to to be able to change the values of the
rows I need to select. I cant find anything in help, so
could someone help me with the syntax.

Thanks

Matt D.