+ Reply to Thread
Results 1 to 10 of 10

Macro to insert rows using commas

  1. #1
    Forum Contributor
    Join Date
    06-01-2015
    Location
    Chennai,India
    MS-Off Ver
    Microsoft Office 2021
    Posts
    146

    Macro to insert rows using commas

    Hi all,

    Need a macro to insert a rows based on the count of commas given in the specified cells. Have attached the sample document for your reference. I tried from my end but i am unable to fix the bug.

    Thansk in Advance.
    Attached Files Attached Files

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Macro to insert rows using commas

    Please Login or Register  to view this content.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Forum Contributor
    Join Date
    06-01-2015
    Location
    Chennai,India
    MS-Off Ver
    Microsoft Office 2021
    Posts
    146

    Re: Macro to insert rows using commas

    Thanks a lot. It works perfectly. The rows getting added only in the Column A. But i need the entire rows needs to be inserted. Can u help on this.

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Macro to insert rows using commas

    This will work from the bottom up.

    Please Login or Register  to view this content.

  5. #5
    Valued Forum Contributor Parth007's Avatar
    Join Date
    12-01-2014
    Location
    Banglore
    MS-Off Ver
    2010
    Posts
    879

    Thumbs up Re: Macro to insert rows using commas

    Hello,

    Please see the attached Macro.. You need to click the fire command button & see..
    Do enable the macro contents..
    Attached Files Attached Files
    Regards
    Parth

    I appreciate your feedback. Hit * if u Like.
    Rules - http://www.excelforum.com/forum-rule...rum-rules.html

  6. #6
    Forum Contributor
    Join Date
    06-01-2015
    Location
    Chennai,India
    MS-Off Ver
    Microsoft Office 2021
    Posts
    146

    Re: Macro to insert rows using commas

    Daffodil... Really thanks a lot for your swift response.. Have a great day.. How to add the reputation for you..Please assist me since i am new to this forum..

  7. #7
    Forum Contributor
    Join Date
    06-01-2015
    Location
    Chennai,India
    MS-Off Ver
    Microsoft Office 2021
    Posts
    146

    Re: Macro to insert rows using commas

    Parth007 Thanks a lot for your immediat response. My problem has been already solved by Daffodil..

  8. #8
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Macro to insert rows using commas

    Oh it's just the little * Add Reputation button under my name.

  9. #9
    Forum Contributor
    Join Date
    06-01-2015
    Location
    Chennai,India
    MS-Off Ver
    Microsoft Office 2021
    Posts
    146

    Re: Macro to insert rows using commas

    Hi Daffodil, I need to modify small steps from the above wherein while inserting the rows for each category i need to get the relevant details to be dropped down.. Have attached the sample file. Please let me know if you could help on this.
    Attached Files Attached Files

  10. #10
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,527

    Re: Macro to insert rows using commas

    You should have started a new thread I think.

    Please Login or Register  to view this content.

+ 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: 0
    Last Post: 11-12-2013, 04:56 PM
  2. [SOLVED] Macro code to insert 3 rows on spreadsheet with variable number of rows
    By D18GE in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-17-2013, 07:33 AM
  3. Replies: 0
    Last Post: 05-10-2013, 12:04 PM
  4. insert commas in existing file..
    By techker in forum Excel General
    Replies: 16
    Last Post: 04-02-2012, 06:13 AM
  5. How do I insert commas only when appropriate?
    By jhietter in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-24-2011, 08:07 AM
  6. Replies: 2
    Last Post: 04-21-2011, 07:13 PM
  7. Insert commas into a row/cell of words
    By Hyacinth in forum Excel General
    Replies: 7
    Last Post: 04-16-2010, 07:29 PM
  8. Need to insert double-quotes to preserve commas in cells
    By ScottHibbard in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-12-2010, 11:57 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