Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3323

Attach refresh macro with existing VB code

$
0
0

Dear Friends, I wrote a macro to hide a row  depending on the  CheckBox i.e (check/uncheck). Given below is the code  of the macro. Now  I  need to attach  a refresh  macro with  this code i.e  when  the user check the box it should unhide the row and also refresh the report at same time. Can someone give me the code to attach the refresh  macro with  following code. Option Explicit Sub CheckBox12_Click()     If Range("B19").Value = True Then         Rows(19).EntireRow.Hidden = False             Else         Rows(19).EntireRow.Hidden = True     End If     End Sub Thanks, Rahul


Viewing all articles
Browse latest Browse all 3323

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>