+ Reply to Thread
Results 1 to 9 of 9

How to omit rows from Sub parse data VBA

  1. #1
    Registered User
    Join Date
    07-29-2016
    Location
    Bristol, UK
    MS-Off Ver
    2010
    Posts
    7

    How to omit rows from Sub parse data VBA

    Hi

    Please could someone help me modify the below VBA? I am trying to omit the first 6 rows (only 2 are populated) so that when the split into different worksheets occurs, the first 6 rows are not part of the split. I am a macro novice so if you could make it easy to understand, that would be much appreciated. Also, I was trying to use two rows for my header (title from A5:P6), however this didn't seem to work and I have had to resort to using A6:P6, if there is a way of using two rows, please could you let me know?

    Many thanks in advance.

    Please Login or Register  to view this content.
    Last edited by Ninzzii; 08-03-2016 at 05:02 AM.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: How to omit rows from Sub parse data VBA

    Hi Ninzzii,

    Welcome to the Forum!

    Sorry to say that:

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    Please attend to this directly.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    07-29-2016
    Location
    Bristol, UK
    MS-Off Ver
    2010
    Posts
    7

    Re: How to omit rows from Sub parse data VBA

    Hi there. Thank you for your help so far. I have now amended it as you have advised. Please could you now help me with the query?

    Many thanks.

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: How to omit rows from Sub parse data VBA

    Hi Ninzzii,

    Thanks for the rep!

    You say it's working and all you want is to skip the first 6 entries - try:

    Please Login or Register  to view this content.
    But, if that doesn't work then:

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  5. #5
    Registered User
    Join Date
    07-29-2016
    Location
    Bristol, UK
    MS-Off Ver
    2010
    Posts
    7

    Re: How to omit rows from Sub parse data VBA

    Hi

    Please see attached workbooks. Parse data macro is splitting the "before" workbook by column K. "Currently after" is what I'm getting (the red tabs need not be part of the split), so the "desired" is what I would like it to look like.

    Many thanks for your help.
    Attached Files Attached Files

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: How to omit rows from Sub parse data VBA

    This seems to do it:

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    07-29-2016
    Location
    Bristol, UK
    MS-Off Ver
    2010
    Posts
    7

    Re: How to omit rows from Sub parse data VBA

    It works! Thank you soooo much!!

  8. #8
    Registered User
    Join Date
    07-29-2016
    Location
    Bristol, UK
    MS-Off Ver
    2010
    Posts
    7

    Re: How to omit rows from Sub parse data VBA

    It works! Thank you soooo much!!

  9. #9
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: How to omit rows from Sub parse data VBA

    You're welcome!

+ 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. PARSE DATA FROM WEB SITE (with buttons) TO EXCEL (rows, columns).
    By Francisco Sousa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-18-2015, 02:15 PM
  2. [SOLVED] read pdf or doc file line by line and then parse the data into the proper cells and rows.
    By rtphilli in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-04-2014, 03:33 AM
  3. [SOLVED] Parse multiple values in a cell into separate rows
    By bcullers in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 01-25-2013, 03:03 PM
  4. Parse string and move data to multiple rows
    By vbvamsi in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-31-2012, 06:13 PM
  5. Replies: 3
    Last Post: 08-23-2010, 05:07 AM
  6. [SOLVED] how do i omit rows for printing based on column value
    By haloprod in forum Excel General
    Replies: 1
    Last Post: 04-05-2006, 12:10 AM
  7. Replies: 4
    Last Post: 04-20-2005, 06:06 PM

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