Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Jan 2005
    Posts
    614
    Thanks
    0
    Thanked 0 Times in 0 Posts

    In Range Replace (Excel2003)

    I have
    Range("A1:AH15").Select
    where 15 is a result of a function
    RowsNum = Selection.CurrentRegion.Rows.Count
    where RowsNum = 15

    How do I make Range("A1:AH15").Select
    where 15 will be a variable that will take RowsNum's value?

    Thanks much

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 28 Times in 28 Posts

    Re: In Range Replace (Excel2003)

    Range("A1:H" & RowsNum).Select

  3. #3
    5 Star Lounger
    Join Date
    Jan 2005
    Posts
    614
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: In Range Replace (Excel2003)

    Awesome as always
    Thanks HansV

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •