![]() |
#1
|
|||
|
|||
![]()
Hey guys.
Been trying to write a formula (vba) to hide rows on sheet2 based on value in sheet1. This is beacuse I use sheet1 to put in the data to make my business proposal which is shown in sheet2. And since I don't always use all kind, it doesn't have to show the once who isn't offerd. Code:
Sub HideRow() If Range("Blad1!E12").Value = 0 Then Rows("Blad2!10").EntireRow.Hidden = True Else Rows("Blad2!10").EntireRow.Hidden = False End If End Sub Hope you can crack this one for me! |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Automatic Transfer of Data to Sheets Based on Drop-Down by VBA | STBTC | Excel Programming | 0 | 03-25-2017 02:27 PM |
How to Hide/Un-hide a worksheet based on cell on another sheet. | easton11 | Excel Programming | 1 | 06-02-2015 12:07 PM |
![]() |
miscia76 | Word | 1 | 11-13-2013 04:29 PM |
![]() |
bremen22 | Excel | 3 | 09-03-2013 11:27 AM |
![]() |
ubns | Excel Programming | 5 | 05-07-2012 05:44 AM |