PDA

View Full Version : Solved: Resize to last cell and select



u25103
09-23-2008, 06:35 AM
Hi
I want to resize the selected cell to the last cell, that has a value within and select the hole area.

I've tried with selection.resize(1, Selection.End(xlToRight)).Select

but it didn't work

I hope that there someone out there that has a god idea to solve this one.

Thanks:think:

mdmackillop
09-23-2008, 06:37 AM
Range(Selection, Selection.End(xlToRight)).Select

u25103
09-23-2008, 06:48 AM
Thank you

""Sometime you don't see the forest because all the trees are in line of sight"":bow: