+ Reply to Thread
Results 1 to 6 of 6

Final step in VBA code to hide/unhide rows with zero balance in column M

  1. #1
    Registered User
    Join Date
    04-24-2013
    Location
    Utah
    MS-Off Ver
    Excel 2010
    Posts
    2

    Final step in VBA code to hide/unhide rows with zero balance in column M

    I have figured out the code to the point that it does almost everything that I want, but I am missing how to unhide the rows when the balance in column M changes to a total other than zero. Here is what I have:

    Please Login or Register  to view this content.

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,876

    Re: Final step in VBA code to hide/unhide rows with zero balance in column M

    Please Login or Register  to view this content.
    Hey! I am very new to VBA so this might be wrong. But I dont understand "(Cells(i, "M"), Cells(i, "M"))", how can they both be same?? :O
    Last edited by NeedForExcel; 04-24-2013 at 11:57 AM.
    Cheers!
    Deep Dave

  3. #3
    Registered User
    Join Date
    04-24-2013
    Location
    Utah
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Final step in VBA code to hide/unhide rows with zero balance in column M

    I don't think that I put it in the right location....

    Please Login or Register  to view this content.
    I am new to this code writting and I am still figuring out how it works. Thanks for your help!

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Final step in VBA code to hide/unhide rows with zero balance in column M

    Hi, har13y_d3v1l,

    code goes behind the sheet:
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  5. #5
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,876

    Re: Final step in VBA code to hide/unhide rows with zero balance in column M

    Even I am new. And I am just trying to give you a solution.

    However I dont think there was anything wrong in the 1st code except (Cells(i, "M"), Cells(i, "M"). I hope I am not wrong..

    Please Login or Register  to view this content.
    And u failed to mention Next i in the second code.

  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: Final step in VBA code to hide/unhide rows with zero balance in column M

    @msexcelathome,

    Please Login or Register  to view this content.
    is just a long way of saying
    Please Login or Register  to view this content.
    or
    Please Login or Register  to view this content.
    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

+ 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