+ Reply to Thread
Results 1 to 5 of 5

Filling cells with 1,2,3... based on form Value

  1. #1
    Forum Contributor
    Join Date
    06-12-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    167

    Filling cells with 1,2,3... based on form Value

    Hello,

    I am looking to fill in cells to go 1 2 3 ect based on a number on a different sheet. All I really want to do is say for example cell a1=1 a2=2 ect til the cell ax=x. Any suggestions?

    to take it a step farther I would like to be able to find then end of the last set I enter numbers like that and then begin a new set based on a new number. I have a pretty good idea how to do this but if someone has an easy solution it would be appreciated.

    What I have right now is:
    Please Login or Register  to view this content.
    I am using k instead of I because I have more loops and actions that will happen inside but I took them out for simplicity.

    Thanks

  2. #2
    Forum Contributor
    Join Date
    06-12-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    167

    Re: Filling cells with 1,2,3... based on form Value

    I was able to solve the first part of my question as I was foolish and was messing up how to activate the next cell over. As it turns out all I needed was to change my second last line of code. See new below:

    Please Login or Register  to view this content.

  3. #3
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Filling cells with 1,2,3... based on form Value

    Not sure what you want but this will accomplish what you've posted:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  4. #4
    Forum Contributor
    Join Date
    06-12-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    167

    Re: Filling cells with 1,2,3... based on form Value

    Perfect thanks

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Filling cells with 1,2,3... based on form Value

    You're welcome and thanks for the 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. filling IE based pdf form using VBA
    By nirajknir in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 09-02-2015, 11:44 PM
  2. [SOLVED] Filling cells based on the value in another
    By MichAlle in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-09-2013, 12:39 AM
  3. Replies: 1
    Last Post: 06-11-2012, 02:37 PM
  4. Filling Cells Based on Drop Down Selection
    By Dredger in forum Excel General
    Replies: 14
    Last Post: 06-07-2011, 01:37 AM
  5. Replies: 2
    Last Post: 01-26-2011, 02:13 PM
  6. filling cells based on two criteria ?
    By vxg in forum Excel General
    Replies: 6
    Last Post: 09-06-2010, 10:43 AM
  7. Filling form fields via worksheet dropdowns, user update via form, change form color
    By Demosthenes&Locke in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2010, 08:58 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