+ Reply to Thread
Results 1 to 5 of 5

Select a range from active cell to last non blank row

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Select a range from active cell to last non blank row

    Hi,
    I want to copy data from active cell to last non blank cell and paste it to last blank cell in same column,

    For example
    I active cell is G45 and last non blank cell is G57 the copy the range g45:g57 and paste to g58

    Hope some one will help
    Attached Files Attached Files

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Select a range from active cell to last non blank row

    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Select a range from active cell to last non blank row

    Thanks a lot
    Use Code-Tags for showing your code :
    Please mark your question Solved if there has been offered a solution that works fine for you
    If You like solutions provided by anyone, feel free to add reputation using STAR *

  4. #4
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,223

    Re: Select a range from active cell to last non blank row

    Admittedly late, but since I have already written ...

    1. Select the selected cell (e.g. G45)
    2. Start macro recording (Record macro icon). In the "Record a macro" window, in the "Store macro in" field, select "this workbook". Press [OK].
    3. Complete the following steps:
    - Shift + End
    - Shift + Down Arrow
    - Ctrl + C
    - Down Arrow
    - Ctrl + V
    - Esc
    4. End macro recording.
    5. Select the LeftAlt + F11 keyboard shortcut and locate the recorded macro. You'll probably find them in Module1.
    6. In this procedure, you will find the line
    Please Login or Register  to view this content.
    Replace it with
    Please Login or Register  to view this content.
    7. From now on you can use selecting the LeftAlt + F8 keyboard shortcut in Excel.

    Artik

  5. #5
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Select a range from active cell to last non blank row

    Glad I could assist...tx for rep +

+ 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. [SOLVED] Select a range from the active cell till the final row used
    By Megatronixs in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-04-2013, 08:39 AM
  2. [SOLVED] Select Range with starting active cell and not reference
    By cooket4 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-21-2012, 08:02 AM
  3. Select a range from active cell
    By Spagbog in forum Excel General
    Replies: 1
    Last Post: 12-21-2011, 08:17 AM
  4. Select range from active cell
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-22-2010, 11:42 AM
  5. how to auto-select range of active cell
    By panamakevin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-12-2010, 12:46 AM
  6. Select a Range Based on Active Cell Location?
    By w01f in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-27-2009, 08:35 AM
  7. Select and Copy Range from Active Cell
    By Leah in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-21-2009, 03:23 PM
  8. In VB macro how do I select range from active cell
    By spydor in forum Excel General
    Replies: 5
    Last Post: 12-29-2005, 07:15 PM

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