Several years ago I wrote a post on using VBA to enhance your Smart View experience, since then Excel has changed quite a bit, and some of the steps are slightly different, or at least may look different. With that said, Today I will revisit this, and simply give you the steps required to implement some simple Excel macros to improve you Smart View experience.
If you want the details on some of the how and why, please visit my previous post here but the macros we are going to add do the following:
- Include Members On - When you drill into a member, this will retain the member you drilled from
- Include Members Off - opposite of above, when you drill in, the member you click on will be removed the the returned result.
- Suppression On - This will turn suppression on for Rows with Missing and 0
- Suppression Off - This will turn suppression off for Rows with Missing and 0
- Toggle Indentation - This will switch between having member indentation enabled or disabled, one click to flip, and you do need to refresh the sheet after clicking to see the change.
On with the show!
Step 1 -Open excel
It is recommended that you restart excel before this step because we will need to close all sheets at some point ahead.
I was going to put a screen shot here, but I think you all know what Excel looks like.
Step 2 - Add Excel Developer Ribbon
This is not required if you have done this in the past, or are currently using Excel Macros.
- Open 'Excel Options'
- Select 'Customize Ribbon'
- Check 'Developer'
At this point, you have created a Personal Macro Workbook, which we will use to store our new macros.
The default install location of SmartView is C:\Oracle\SmartView but if this was changed during install your folder may be different. Once you find SmartView folder, got the \bin and select smartview.bas it should be the only file that shows up in that folder.
This step is simple, open the Module 1 'file' under your personal excel workbook (PERSONAL.XLS)
- Include Members On - The blue i, because it is Included
- Include Members Off - the red x, because it make sense next to the blue i
- Suppression On - the 4 cell box, because with suppression on, you will retrieve less cells
- Suppression Off - the 9 cell box, because with suppression off, you will retrieve more cells.
- Toggle Indentation - the left justify text icon works well here for obvious reasons.
Thank you for the useful information! This will be really helpful. The steps above worked perfectly for me.
ReplyDelete