+ Reply to Thread
Results 1 to 7 of 7

Replicating the data in Excel

  1. #1
    Registered User
    Join Date
    04-16-2014
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    4

    Replicating the data in Excel

    Here i have attached one excel sample template. If i pass tables names as a input to this template it should create different tabs for different table names. I have to automate this as i need to create different sheets for different groups. Let say if i am passing table names as "tracking","summary","sumry_enhmt" , it should create or copy standard template data into three tabs. Here i have attached expected output for your understanding.

    Kindly help me here.
    Attached Files Attached Files
    Last edited by srikanth38; 04-17-2014 at 02:45 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,885

    Re: Replicating the data in Excel

    I don't see where you have placed the sheet names in your file. How will you indicate the particular sheet names and where?
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    04-16-2014
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Replicating the data in Excel

    Quote Originally Posted by alansidman View Post
    I don't see where you have placed the sheet names in your file. How will you indicate the particular sheet names and where?
    Thank you for your quick response. I just have to copy the standard template data in to multiple tabs in the same XL sheet. I have other program which i will write values based on table name tab in the sheet.

    Let say if i pass 10 table names , i should have a Excel sheet with 10 different tabs of standard template data. The tabs should be identified with table names. Hope you understood it.

  4. #4
    Registered User
    Join Date
    04-16-2014
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Replicating the data in Excel

    Could someone please help me on this ?Thank you in advacne.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,885

    Re: Replicating the data in Excel

    You have not provided a location for the names you want. Without them physically located within a spreadsheet, there is no way to tell Excel to do what you want. I ask again, how will you pass the names to excel? Where are they located in your spreadsheet?

  6. #6
    Registered User
    Join Date
    04-16-2014
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Replicating the data in Excel

    Quote Originally Posted by alansidman View Post
    You have not provided a location for the names you want. Without them physically located within a spreadsheet, there is no way to tell Excel to do what you want. I ask again, how will you pass the names to excel? Where are they located in your spreadsheet?

    Here i have uploaded NEW_Sample Input.xls‎ and NEW_Expected Output.xls‎ to post now. Kindly have look for your understanding.

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,885

    Re: Replicating the data in Excel

    Give this a try:

    Please Login or Register  to view this content.

    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    To run the Excel VBA code:
    1. Press Alt-F8 to open the macro list
    2. Select a macro in the list
    3. Click the Run button

+ 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] replicating rows of data via VBA
    By Wedge120 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-16-2013, 03:31 PM
  2. Replicating data from a list
    By vgr in forum Excel General
    Replies: 7
    Last Post: 05-25-2012, 07:35 AM
  3. Replicating data
    By leonardsway in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-05-2007, 02:23 AM
  4. Replicating Data
    By RichardAllen in forum Excel General
    Replies: 4
    Last Post: 12-11-2006, 01:35 PM
  5. [SOLVED] Basic Excel for Macro Experts - replicating data across multiple cells
    By David Smithz in forum Excel General
    Replies: 6
    Last Post: 06-15-2006, 08:15 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