Jumat, 15 April 2016

[ExcelVBA] Re: select range


Indeed, normally I'd have done the same, but a one liner looks better!

---In ExcelVBA@yahoogroups.com, <g4swy@yahoo.com> wrote :

Pascal that was excellent.

How about  :-

 With Range("test")
    .offset(, 2).Resize(, .Columns.Count - 2).Select
 End With

Derek +++


Posted by: pascaldaulton@lineone.net
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (8)
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.

Visit our ExcelVBA group home page for more info and support files:

More free tutorials and resources available at:




Tidak ada komentar:

Posting Komentar