on 09-19-2008 8:10 AM
Hi gurus
In my report I have to show 5 columns depending on a condition.
Is it feasible?
Regards
Hi,
You can use VBA Macro to execute Code to hide the columns based on the condition.
This is in 3.5
Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
'Check you condition
If <condition> Then
'This will hide Column 3 on Sheet1 where the Query is.
ThisWorkbook.Sheets("Sheet1").Columns(3).Hidden = True
End If
End Sub
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.