+ Reply to Thread
Results 1 to 6 of 6

How to dynamically fill inn data i first available row in list

  1. #1
    Forum Contributor
    Join Date
    09-20-2012
    Location
    Norge
    MS-Off Ver
    Excel 2007
    Posts
    114

    How to dynamically fill inn data i first available row in list

    Hello,

    Please see my attachement. I want to be able to choose items randomly from the comboboxes that will trigger a copy/paste range into the final white area BUT I want it to paste into the FIRST available ROW in the white Field.

    I know how to define and copy/paste a range to a specific ROW only using one ComboBox for each ROW, but thatīs the hard way With a lot of coding. Iīm sure there is a smart function or formula of some kind that can trigger an intelligence for the paste/fill in event to just find the first available EMPTY ROW to paste in within a spesific area (white area). And Iīm open for any ideas, but was thinking of using IF ElseIf statements for Programming the copy/paste events.......
    Attached Files Attached Files
    Last edited by tnuis; 08-25-2013 at 02:42 PM.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: How to dynamically fill inn data i first available row in list

    Try this line:-

    NextEmptyRow = Selection.SpecialCells(xlCellTypeLastCell).Row + 1

  3. #3
    Forum Contributor
    Join Date
    09-20-2012
    Location
    Norge
    MS-Off Ver
    Excel 2007
    Posts
    114

    Re: How to dynamically fill inn data i first available row in list

    Hello mehmetcik

    I cannot get this to work. Could you please look at this New attachement: Fill in list challange.xlsm

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: How to dynamically fill inn data i first available row in list

    ahh

    You don't want the first empty row.

    You want the first empty row in a column

    This will select the first empty cell below F7.

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    01-03-2013
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    163

    Re: How to dynamically fill inn data i first available row in list

    Hi tnuis

    Can you try attached file to see, if it works for you? Please bear in mind it's created on your first attachment, so it uses form controls, not ActiveX controls.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    09-20-2012
    Location
    Norge
    MS-Off Ver
    Excel 2007
    Posts
    114

    Re: How to dynamically fill inn data i first available row in list

    Ok, I believe this will be to complicated to convert into my actual configurator so here the real thing is (without prices offcourse). Sorry for this guys

    Configurator.xlsm

    So again, what I want is whenever I choose a machine modell from ComboBox1 or machine option from ComboBox 2 I want it to trigger that it automatically fills in the corresponding line from the tables (way to the right in sheet1) into the FIRST empty line C19:L38 (from top and then Down).

    mehmetcik With his second solution is the closest. That actually Works when Programming a code in VBA, brilliant , but I was actually hoping to not have to Write that VBA code for all the items that can be chosen in the two ComboBoxes. That will take me days......

    I feel a bit stuck here. Also thought of using VLOOKUP but then again I cannot combine that With the "fill into first available line" event that I want so bad.

    Who can give me the definitiv solution here? I would appreciate if you put the fix directly into the configurator and then uploaded it again

+ 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. Fill Combo Box Dynamically
    By djblois1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-08-2013, 03:59 PM
  2. fill in table dynamically
    By xlepws in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-16-2012, 03:37 PM
  3. Replies: 5
    Last Post: 08-13-2011, 11:27 AM
  4. Replies: 1
    Last Post: 09-17-2005, 10:05 AM
  5. Replies: 1
    Last Post: 07-28-2005, 02:06 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