+ Reply to Thread
Results 1 to 11 of 11

Macro to format a worksheet help

  1. #1
    Forum Contributor
    Join Date
    05-04-2013
    Location
    USA
    MS-Off Ver
    Excel 365
    Posts
    184

    Macro to format a worksheet help

    Hi Excel Experts,

    I need help writing a Macro that would delete any rows that are not empty in column “A”, from cell A8 to the bottom of the spreadsheet. Attached is a worksheet with two tabs, “Original” and “Formatted”. Please let me know if it’s possible. If possible, the macro will not delete any cells in column A that has "X". Also, the data is never the same.

    Thanks
    Last edited by alexduy; 07-11-2013 at 05:53 PM.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro to format a worksheet help

    What does “Formatted” sheet do? Is this the expected result?

  3. #3
    Forum Contributor
    Join Date
    05-04-2013
    Location
    USA
    MS-Off Ver
    Excel 365
    Posts
    184

    Re: Macro to format a worksheet help

    yes, it's the final result.

    Thanks.

  4. #4
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: Macro to format a worksheet help

    try
    Please Login or Register  to view this content.
    Please use [CODE]-TAGS
    When your problem is solved mark the thread SOLVED
    If an answer has helped you please click to give reputation
    Read the FORUM RULES

  5. #5
    Forum Contributor
    Join Date
    05-04-2013
    Location
    USA
    MS-Off Ver
    Excel 365
    Posts
    184

    Re: Macro to format a worksheet help

    Doesn't work =(.

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro to format a worksheet help

    Try the attached.
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: Macro to format a worksheet help

    Any errors? You have to have the sheet activated which is going to change and "Inactive" is in A7..
    try instead
    Please Login or Register  to view this content.

  8. #8
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro to format a worksheet help

    If you want a filer which is I am not a big fun of it.

    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    05-04-2013
    Location
    USA
    MS-Off Ver
    Excel 365
    Posts
    184

    Re: Macro to format a worksheet help

    Doesn't work =(. This is how the real worksheet looks like, see if you fix the macro to work on this worksheet.
    Last edited by alexduy; 07-11-2013 at 05:52 PM.

  10. #10
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro to format a worksheet help

    "Doesn't work"

    Does not help either.

    What does not work? You have attached an output sheet and you have 3 codes and none of them work.
    All of them work as per attached.

  11. #11
    Forum Contributor
    Join Date
    05-04-2013
    Location
    USA
    MS-Off Ver
    Excel 365
    Posts
    184

    Re: Macro to format a worksheet help

    The NotBigFun code work perfectly. It's exactly what i'm looking for.

    Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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