Closed Thread
Results 1 to 8 of 8

Populate “template” sheet from data in “source” sheet

  1. #1
    Registered User
    Join Date
    06-26-2015
    Location
    Tampa
    MS-Off Ver
    2010
    Posts
    17

    Populate “template” sheet from data in “source” sheet

    I’m not even sure how to phrase my question, and I apologize for that.

    1. From a list of page contents, shown in Source_Image.png, I want to create Bookmap_Image.png.

    2. Frequently, the source data will change, for example, if a 4-page section needs to be added after page 20 or something. Therefore, I need the rows after this new data to (a) repaginate (change the values in column 1 and column 2), and (b) populate into the bookmap, reflowing in the same fashion.

    What Source_Image.png shows now is, as you may be able to see, just a pointer to the cell containing the pertinent data. As limited as I am, there’s got to be a better way. Page_Image.png shows what the first page of the bookmap template looks like. A publication could have 60 pages or 600 or more, so I’m reluctant—call me lazy—to continue my cell-by-cell manual solution.

    Is there a VBA solution for this problem.

    Thanks very much in advance even for just taking the time to read this.


    Left this bit out, sorry. Formula_Bar.png
    Attached Images Attached Images
    Last edited by eddiecruz; 11-16-2016 at 12:34 PM.

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Populate “template” sheet from data in “source” sheet

    Please post a workbook with some sample non-sensitive data. It will help us help you better.

    Also, repost the pictures in JPEG format. PNG files don't show up for everyone on this board.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    06-26-2015
    Location
    Tampa
    MS-Off Ver
    2010
    Posts
    17

    Re: Populate “template” sheet from data in “source” sheet

    Quote Originally Posted by dflak View Post
    Please post a workbook with some sample non-sensitive data. It will help us help you better.

    Also, repost the pictures in JPEG format. PNG files don't show up for everyone on this board.
    Thanks very much for the reply and the information.

    Bookmap-Sample.xlsm

    Bookmap_Image.jpgFormula_Bar.jpgSource_Image.jpgPage_Image.jpg

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Populate “template” sheet from data in “source” sheet

    I'll be blunt. I'm not going to take the time to set up the spreadsheet. If you have a sample and can attach it, it would help a lot. This looks very do-able using a table and some lookups.

  5. #5
    Registered User
    Join Date
    06-26-2015
    Location
    Tampa
    MS-Off Ver
    2010
    Posts
    17

    Re: Populate “template” sheet from data in “source” sheet

    Quote Originally Posted by dflak View Post
    I'll be blunt. I'm not going to take the time to set up the spreadsheet. If you have a sample and can attach it, it would help a lot. This looks very do-able using a table and some lookups.
    I'm okay with blunt, but I must have done something incorrectly. I did post the sample workbook: Bookmap-Sample.xlsm.

    post.jpg

    Clearly, I have done it incorrectly. I shall try again, and please forgive my procedural inexperience with forum mechanics.
    Attached Files Attached Files

  6. #6
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Populate “template” sheet from data in “source” sheet

    OK, I got the workbook. What is it exactly what you want to do? Do you want to add a page number on the lower left of the page and have it look up the "nf" value and what's supposed to go there. Or do you want to go in the opposite direction: change the data on the AR source page and have it reflect on the AR Bookmap page?

    Also what does the information on the lower right in the brackets do or should I not be concerned with that?

  7. #7
    Registered User
    Join Date
    06-26-2015
    Location
    Tampa
    MS-Off Ver
    2010
    Posts
    17

    Re: Populate “template” sheet from data in “source” sheet

    Yes, it should change the data on the AR source sheet and reflect it on the AR Bookmap sheet, which I will save as a template for future use. For example, the contents of C2 on the Source sheet should copy to what is now merged A1B1 on the Bookmap sheet; Source B2 to copy to Bookmap B2; and Source A2 to copy to Bookmap A2.

    This repeats for the next Page Number/Folio/Page Description row. Every third column (E, J, O in the sample image) should remain blank. After eight instances of this process, four 2-page spreads, it should skip the blank row (3, 6, 9 in the sample image) and repeat; then after four 8-page "rows," start over on next page.

    There are no calculations to be made, per se. If I need to insert 4 or 5 pages after page 50, say, it should reflow the subsequent rows to reflect this new data. The brackets are simple text. [nf] means "no folio" and [bf] means blind folio.

    The purpose of this is to generate a visual reference of the contents and position of every page of a publication. Thank you for giving this some thought. Please do let me know if I've failed to explain adequately.
    Last edited by eddiecruz; 11-18-2016 at 04:50 PM.

  8. #8
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Populate “template” sheet from data in “source” sheet

    This thread has been re-started in Commercial Services. You may offer to solve it if you have Guru status or above.

    http://www.excelforum.com/showthread.php?t=1164308
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 07-21-2015, 10:26 PM
  2. Macro to populate template with info from diff sheet
    By rainbow612 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-17-2015, 09:03 PM
  3. Populate a template sheet with data
    By dourpil in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2014, 08:21 AM
  4. Replies: 1
    Last Post: 01-04-2014, 06:37 PM
  5. Replies: 2
    Last Post: 10-22-2013, 08:04 AM
  6. [SOLVED] VBA to copy relevant data and populate a template sheet
    By kenadams378 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 01-31-2013, 02:08 PM
  7. [SOLVED] Excel VBA: Dropdown box selection in first sheet to populate 2nd sheet from 3rd sheet data
    By EMLalan in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-07-2012, 09:46 AM

Tags for this Thread

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