+ Reply to Thread
Results 1 to 17 of 17

Help with filling into merge cells into a loop

  1. #1
    Registered User
    Join Date
    10-25-2019
    Location
    Belgium
    MS-Off Ver
    2018
    Posts
    20

    Help with filling into merge cells into a loop

    Hello,

    I like to fillout on sheet2 the values on sheet3
    on the columns A2 andalso F2 till down page of all the A and F
    i tried to fill them all in from the values on sheet3
    but its not working it don't fill F and skip some lines or even values

    can someone helpme out

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Help with filling into merge cells into a loop

    Maybe because of the merged cells.

    For other forummembers.

    In the file of 1912dummy is the following code.

    Please Login or Register  to view this content.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Help with filling into merge cells into a loop

    What is your desired result?

  4. #4
    Registered User
    Join Date
    10-25-2019
    Location
    Belgium
    MS-Off Ver
    2018
    Posts
    20

    Re: Help with filling into merge cells into a loop

    Hello,

    Well something like this
    i readded the sample file again
    i making cards to print out but need to fill them with data
    and the we create the image on A2

    that also need to added from the loop aswell
    Attached Files Attached Files

  5. #5
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Help with filling into merge cells into a loop

    Merged cells - designed by the 'Devil' to frustrate all Excel users.
    Simple advice - do not use them - read up on the reasons not too.
    Look at your code and see what is happening - 'Test1' into cell A2 - 'Test11' into cell A12
    The merged cell is simply masking rows 3 to 11 - unmerge your A2 merge - then run your code - there is your answer.
    torachan.

  6. #6
    Registered User
    Join Date
    10-25-2019
    Location
    Belgium
    MS-Off Ver
    2018
    Posts
    20

    Re: Help with filling into merge cells into a loop

    Hello torachan,

    yep it comes all on A
    so how can i avoid that
    so it will fill my cells i need?
    and yeah but i need the merge cells because there will the picture placed on

  7. #7
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Help with filling into merge cells into a loop

    Like this?
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    10-25-2019
    Location
    Belgium
    MS-Off Ver
    2018
    Posts
    20

    Re: Help with filling into merge cells into a loop

    that is so amazing jindon
    just wow
    Thank you

    so then i use the same way for adding the images ?
    from the values on A and F

    this is the code i will use for making the images
    Please Login or Register  to view this content.
    or we use an other way to fill the A2
    Last edited by 1912dummy; 06-14-2020 at 04:04 AM.

  9. #9
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Help with filling into merge cells into a loop

    Your question was to find the cell reference in Sheet2, so as long as the sheet layouts are the same, it should do.

  10. #10
    Registered User
    Join Date
    10-25-2019
    Location
    Belgium
    MS-Off Ver
    2018
    Posts
    20

    Re: Help with filling into merge cells into a loop

    Okay thank you
    all for the great help
    now i can continue for a little while

    Thanks

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

    Re: Help with filling into merge cells into a loop

    Please Login or Register  to view this content.
    Attached Files Attached Files
    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!!!

  12. #12
    Registered User
    Join Date
    10-25-2019
    Location
    Belgium
    MS-Off Ver
    2018
    Posts
    20

    Re: Help with filling into merge cells into a loop

    Hello sintek

    thank you for the sample

    going to look into it

  13. #13
    Registered User
    Join Date
    10-25-2019
    Location
    Belgium
    MS-Off Ver
    2018
    Posts
    20

    Re: Help with filling into merge cells into a loop

    Sorry but still have a question
    how do i selected all the cells
    that are filled

    so i can selected the whole card
    so for example the card from A1 till J11
    and so on

    Thank you

  14. #14
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Help with filling into merge cells into a loop

    Why do you need to Select the range?
    Please Login or Register  to view this content.

  15. #15
    Registered User
    Join Date
    10-25-2019
    Location
    Belgium
    MS-Off Ver
    2018
    Posts
    20

    Re: Help with filling into merge cells into a loop

    i need to printout only where the cells are filled with the data from sheet3
    and not empty ones

  16. #16
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Help with filling into merge cells into a loop

    Please Login or Register  to view this content.

  17. #17
    Registered User
    Join Date
    10-25-2019
    Location
    Belgium
    MS-Off Ver
    2018
    Posts
    20

    Re: Help with filling into merge cells into a loop

    thank you jindon
    works like a charm

+ 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] ListBox Filling with Loop
    By ImranBhatti in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-30-2018, 10:00 AM
  2. Merge cells that a loop references
    By rjwrees in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-05-2013, 10:12 AM
  3. [SOLVED] Merge Cells in Dynamic Range using For loop
    By crazymazy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-01-2013, 11:33 AM
  4. Excel Web scraping loop and filling the relevant cells
    By lesoies in forum Excel Programming / VBA / Macros
    Replies: 31
    Last Post: 12-20-2012, 07:33 AM
  5. [SOLVED] Loop through column and merge cells
    By christensen in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-10-2012, 04:17 AM
  6. Loop Command to unmerge existing merge cells
    By ahlecks in forum Excel General
    Replies: 3
    Last Post: 07-01-2010, 03:50 AM
  7. A loop to merge cells based on a value
    By tschultz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-24-2005, 02:50 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