+ Reply to Thread
Results 1 to 5 of 5

Select User Definable Number of Cells in a Column

  1. #1
    Forum Contributor
    Join Date
    06-21-2010
    Location
    -
    MS-Off Ver
    Excel 2010
    Posts
    1,211

    Select User Definable Number of Cells in a Column

    I have this code, which allows me to select a cell, run the macro and then enter the number of blank rows to insert below the selected cell. Is there any way to adapt this, using the same principal so that I can select a cell, run a macro and then enter the number of cells I'd like to select in the same column?

    Please Login or Register  to view this content.
    Many thanks...

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Select User Definable Number of Cells in a Column

    hi HangMan, try:
    Please Login or Register  to view this content.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    06-21-2010
    Location
    -
    MS-Off Ver
    Excel 2010
    Posts
    1,211

    Re: Select User Definable Number of Cells in a Column

    Hi benishiryo,

    Thanks for your reply, however, that wasn't quite what I was looking to do. I want to be able to select a cell, say C5, then run a macro where I can enter a number, e.g. 10 and for that macro to keep cell C5 selected and to also select the ten cells below C5 so that cells C5 to C15 are now selected...

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Select User Definable Number of Cells in a Column

    ohh, just selection within the column? how about:
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    06-21-2010
    Location
    -
    MS-Off Ver
    Excel 2010
    Posts
    1,211

    Re: Select User Definable Number of Cells in a Column

    Hi benishiryo,

    That works perfectly, brilliant...
    This will be a major time saver, thanks so much...

+ 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