Consulting

Results 1 to 3 of 3

Thread: Micros Button

  1. #1

    Micros Button

    Hi i want to make a button in my work sheet, which would help me to hide / unhide the rows with zero values and those unhide values should not print...Pls i need your prompt help to solve this issue.. As i am working on my P&L worksheet and i have to submitted latest by Tomorrow..
    Thanks

    babar

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    [vba]

    Public Sub Test()
    Dim cell As Range

    For Each cell In Selection.Columns(1)

    cell.EntireRow.Hidden = Application.CountA(cell.EntireRow) = 0
    Next cell

    End Sub
    [/vba]
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    XLD

    I didn't get you at all.... i am new in VBA just give me some detail steps to fix this

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •