View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
PCLIVE PCLIVE is offline
external usenet poster
 
Posts: 1,311
Default go to end of ROW

Try this:

Range("IV6").End(xlToLeft).Select

HTH,
Paul




"geebee" wrote in message
...
hi,

I have the following:

Range("G6").Select
Range(Selection, Selection.End(xlToRight)).Select

The opnly problem is that G6 is empty, so when the command executes, it
goes
to the very next cell to the right, instead of the true last cell to the
last
where data has been entered.

How can I get it to go to the last cell to the right where data has been
entered?

Thanks in advance,
geebee