+ Reply to Thread
Results 1 to 5 of 5

select activecell and following

  1. #1
    Forum Contributor
    Join Date
    03-24-2009
    Location
    Vietnam
    MS-Off Ver
    Excel 2010
    Posts
    382

    select activecell and following

    How can I select the current activecell and the next 50 following rows of that column? I cannot define a range since it has to variable.

    Thanks,
    A2k
    Last edited by Armitage2k; 08-07-2009 at 08:09 AM.

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,256

    Re: select activecell and following

    Please Login or Register  to view this content.
    though it is rarely necessary to actually select cells in code.
    Remember what the dormouse said
    Feed your head

  3. #3
    Forum Contributor
    Join Date
    03-24-2009
    Location
    Vietnam
    MS-Off Ver
    Excel 2010
    Posts
    382

    Re: select activecell and following

    Thanks, I have another little problem I just cannot figure out.

    I am trying to copy a specified range from another sheet into the active cell of another sheet. Can I actually do this?

    here some code which is not working
    Please Login or Register  to view this content.
    This code should import range D1:D50 and then paste it into my active cell on the VIP sheet.

    thanks for all the help,
    A2k

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,256

    Re: select activecell and following

    Assuming the VIP sheet is active:
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    03-24-2009
    Location
    Vietnam
    MS-Off Ver
    Excel 2010
    Posts
    382

    Re: select activecell and following

    works like a charm! Thanks a lot!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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