+ Reply to Thread
Results 1 to 1 of 1

Display the columns (Dynamic and Static data)

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    38

    Display the columns (Dynamic and Static data)

    Hi Team,

    a quick help needed here !!!

    with the help from this forum i have now managed to write a macro which fetch the records based on the input parameters.

    the Input parameters are (Employee ID , Start Date , End Date) -- Based on these dates, it fetches the records available jfrom the base data and copy the data in to a new sheet called " FilterData"

    variables used for input parameters:

    Var1 = Sheets("Automation").Range("C" & i) -- Employee id
    Var2 = Sheets("Automation").Range("E" & i) -- StartDate
    Var3 = Sheets("Automation").Range("F" & i) -- End Date

    the specific code which i using here to get the records from the basedata :

    Union(Cells(cell.Row, "A"), Cells(cell.Row, "B"), Cells(cell.Row, "C"), Cells(cell.Row, "D"), Cells(cell.Row, "E"), Cells(cell.Row, "F"), Cells(cell.Row, "G"), Cells(cell.Row, "H"), Cells(cell.Row, "I"), Cells(cell.Row, "J"), Cells(cell.Row, "K"), Cells(cell.Row, "L"), Cells(cell.Row, "M"), Cells(cell.Row, "N"), Cells(cell.Row, "O"), Cells(cell.Row, "P"), Cells(cell.Row, "Q"), Cells(cell.Row, "R")).Copy ws2.Range("A" & lr2)


    Now i have introduced a new Variable to capture the Application No#

    Var6 = Sheets("Automation").Range("D" & i)

    Now i want to capture the same Application No# in the output. (Say for an employee there are 5 records from the basedata then for all the 5 records the application no which is used as part of input parameters should capture for all these 5 records)

    note : the Application# is a static input , the field is not available in the base data.

    using the above Union function, is there any feasible to capture this Application# field. or any alternate to do this then kindly help me on this.

    Regards,
    Kamal M.
    Last edited by Kamalakar M; 12-30-2015 at 12:42 AM. Reason: added a note

+ 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. Transfer dynamic data from one spreadsheet to another and keep it static
    By vienvy in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-04-2015, 03:55 AM
  2. auto convert data from dynamic table to static data
    By wijnand in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-23-2015, 10:11 AM
  3. [SOLVED] Making dynamic data static
    By clarkyblade in forum Excel General
    Replies: 2
    Last Post: 08-07-2014, 08:44 AM
  4. [SOLVED] Moving static data corresponding with dynamic data
    By caseys_93 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-19-2014, 06:11 AM
  5. Data Validation list with static and dynamic values
    By jontherev in forum Excel General
    Replies: 2
    Last Post: 04-25-2014, 01:35 PM
  6. Replies: 1
    Last Post: 08-12-2013, 08:38 AM
  7. Dynamic data, static range, not updating.
    By Mike K in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-08-2006, 12:10 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