+ Reply to Thread
Results 1 to 5 of 5

adding sheets and segregating data based on their type.

  1. #1
    Registered User
    Join Date
    08-28-2014
    Location
    india
    MS-Off Ver
    2007
    Posts
    92

    Lightbulb adding sheets and segregating data based on their type.

    Hi all, good morning, good afternoon,good evening to all, can some one please help me with V.B.A code. i am trying to frame a loop but not able to do it .

    the macro should add two more sheets with names as first sheet : Bonds and second sheet name : Equity to report1 sheet.

    the sheets should be added before report1 sheet.

    the securities with type in L column should go to equity sheet and with type as bond should go to bonds sheet.

    the headers in 1st row of both equity and bonds sheets will be same as report1 sheet.

    so the first security with equity in L column will come in 2nd row on equity sheet.(Bonds also same.)

    once all the securities are copied in there sheets the macro should create 2 blank columns in front of column D.

    i have attached the sample sheet for your reference......

    Thanks in advance.......
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: adding sheets and segregating data based on their type.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-28-2014
    Location
    india
    MS-Off Ver
    2007
    Posts
    92

    Re: adding sheets and segregating data based on their type.

    thanks for your effort ... everything was perfect but macro should add two blanks columns before column D in both equity and bonds sheets ........ thanks for your effort once again.

  4. #4
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: adding sheets and segregating data based on their type.

    Woops sorry about that. Try this:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-28-2014
    Location
    india
    MS-Off Ver
    2007
    Posts
    92

    Re: adding sheets and segregating data based on their type.

    Thank you very much it helped me a lot.......

+ 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. Replies: 6
    Last Post: 03-30-2012, 11:25 AM
  2. color formatting or segregating data
    By viji in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-20-2010, 12:46 AM
  3. adding data from multiple sheets based on unique ID
    By anthonyanthonya in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-18-2008, 03:13 PM
  4. Adding new 'Type' to Format->Number->Time->Type
    By Alex Vinokur in forum Excel General
    Replies: 5
    Last Post: 09-26-2005, 04:05 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