+ Reply to Thread
Results 1 to 2 of 2

range("e1" & cells(rows.Count,5).end(xlup)).Select

  1. #1
    Forum Contributor
    Join Date
    03-17-2010
    Location
    karachi
    MS-Off Ver
    Excel 2003
    Posts
    113

    range("e1" & cells(rows.Count,5).end(xlup)).Select

    what is this range("e1" & cells(rows.Count,5).end(xlup)).Select please explain?

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: range("e1" & cells(rows.Count,5).end(xlup)).Select

    Hi, sohaila,

    shouldn´t it read
    Please Login or Register  to view this content.
    and would select the range between E1 and the last filled row in column E from the bottom up. No need to select anyhow.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Range("B" & Rows.Count).End(3)(2).select
    By sohaila in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2014, 04:46 PM
  2. Error rsh = Sheets(st).Range("A" & Rows.Count).End(xlUp).Row + 1
    By Jocatlett in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-12-2013, 10:52 AM
  3. Macro Error with code "Range("A65536").End(xlUp).EntireRow.Insert"
    By lukasj13 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-30-2010, 08:48 PM
  4. Why does =countif(range,"<>""") count empty cells?
    By Ingeniero1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-16-2008, 01:40 PM
  5. [SOLVED] Cells(Rows.Count, "b").End(xlUp).Row
    By Kate in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-25-2006, 11:31 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1