If you want EXCEL not to show 0 value, you can do like this:
Tool -> Option -> View(tab) -> Window options -> uncheck the "Zero value"
Your last question:
Without seeing your file, it's difficult to tell you how to do. You can use COUNTA to calculate the num of the non-blank column because a...
open the VBE and then type the code below in the "ThisWorkbook" object:
Private Sub Workbook_BeforePrint(Cancel As Boolean)
Static ab As Long
ab = ab + 1
End Sub
Here I use "Static" to declare the variable "ab" to make sure it retains its value as long as the code is running. Each time...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.