providing high impact and highly functional information systems - transforming your data into information and knowledge supporting your business decisions
A few folk have asked how to just connect automatically to Essbase from Excel VBA. Please find below a simple VBA sub stripped back to show this. Use the following to initialise with your own details in place.
Extending this further with the gpn section to get all parameters, which is also from their website, you’ll find within the below code the handy gpnv now too. The gpnv section pulls down all URL parameters and their values storing them in a handy 2D JavaScript array for manipulation.
When designing pages utilising CSS for their styling and splitting the semantic content away in an attempt to move legacy systems into the dot com era it might be necessary to show why kicking a browser into CSS Compatability mode might be a good idea. Not least that you can position elements as you see fit and can move away finally from table based layouts.
Though how are you physically able to show a change having taken place to management other than through overkill style demo pages or pointing with your finger ..? Using the below code by simply pasting it into the URL address bar and launching by pressing the enter key, you will receive a dialog box detailing which CSS rendering mode you are in.
Quick and simple! This hidden Javascript browser gem and further great insights can be found at quirksmode.org “for all your browser quirks”. A fantastic resource on all things browser based!
Still sometimes need to use batch files to do stuff even in this day and age? Yes, is the usual answer but, unfortunately many of the standard errorlevel checking tools such as CHOICE etc. have either been removed or cannot be used without administrator access in Enterprise environments.
It’s not always entirely wise either to install compiled errorlevel tools into an Enterprise environment. This will potentially go against an application or network policy or you’re just plain unable to.
The below batch file instead is self-contained outputting a DEBUG script before compiling it and utilising it to check for user input. This it utilises within the demo. Save the text down to a textfile and give it the extension .bat
It is an extension of and use of the following Microsoft support site example - Accepting Keyboard Input in Batch Files. Note that there should be a backslash after %temp% and before the word REPLY which is being stripped out by this parser.
Accessing Hyperion Essbase is no problem directly from their MS Excel plugins. Though what happens if one wants to import on-the-fly and put that into MS Access so you can deliver your MI: Management Information, alongside current data without having to analyse and alter Hyperion Essbase output in Excel before exporting to textfile format or CSV before manipulation?
Well, why not try the below code!
The below function run within MS Access will write an “Essbase connection plugin” before instantiating a copy of MS Excel to run Essbase from. Unfortunately if you don’t write out and pull in the textfile to create a module in Excel as is within the code Microsoft’s security permissions now deny access. Give them their due – it was a good move for certain issues.
After the “plugin” is pulled into the MS Excel workbook it fires a connection to Essbase and in this case draws down and partitions the relevant info to worksheets. Note the code will require setting up against whatever Essbase fields you require from your system.
The code as you will see at the bottom will clear down any previous retrieval before using MS Access’ TransferSpreadsheet import functionality to pull in the retreived workbook. The code also requires a table within MS Access to hold your Hyperion Essbase login details. In this case the table is called tbl_essbase_credentials and can be seen within the code. The Excel workbook is cleared down and you are left with your Hyperion Essbase MS Excel retrieval in your MS Access database.
Way to go!
So the process from MS Access is to run function and -> create a module for import into MS Excel -> start a virtual copy of MS Excel -> import the module into the virtual copy of MS Excel -> run virtual module to connect to Hyperion Essbase and download required data -> save MS Excel workbook and transfer the spreadsheet into MS Access -> clean up. All from within MS Access!
Found yourself in a strictly locked down Windows desktop environment? Hate those sodding grouped windows on the taskbar and can’t get rid of them? Try out the below code by saving in a .vbs file and double-clicking to ungroup your windows. To group again, just re-launch the script.
Having found on more than a few occasions that MS Excel’s output to HTML is more than a little bloated and not very editable I needed a way to output clean HTML markup to a simple shared folder area.
This was originally used in Excel 97 and has not been tested in later versions though will most likely work fine.
Thinking that there was a hold up at the back of the site I decided to dig up some of the original ‘turn of my hand’ development from way back yesteryear.
Here is an incarnation of the Edinburgh Flat site from 2005 onwards?!
Thinking that there was a hold up at the back of the site I decided to trip around the WayBackMachine and dig up some of the original ‘turn of my hand’ development from way back yesteryear.
Here is an incarnation of the Edinburgh Flat site from 2004:
Thinking that there was a hold up at the back of the site I decided to trip around the WayBackMachine and dig up some of the original ‘turn of my hand’ development from way back yesteryear.
Here is an incarnation of the Puffin Music site from 2003/4:
Recent Comments