Thanks guys! Didn't expect such a prompt & detailed reply
In my solution I am more interested in the error / warning codes after
a connection has been made. Warnings such as "maximum database rows
have been exceeded" or the warning when a sheet retrieval produced
zero lines. Due to my strict deadline I had to come up with a "dirty"
work-around, but I need to now clean-up before the next deadline.
The first warning relates to an Essbase setting called the
SSPROCROWLIMIT. The warning message is displayed and no retrieval
takes place. I would like to capture some "warning code" and do some
VBA when this occurs, but I can't seem to find what these codes are.
A description about the setting (for interest sake): ********# This
controls the maximum number of spreadsheet rows Essbase processes on
an Excel Add-in user request. SSPROCROWLIMIT is in effect only for
Excel Add-in when the Suppress #Missing Rows option is selected The
rows are counted before suppression; that is, missing rows and rows
containing zero values are included.
When users zoom in on one or more members, Essbase must process a
larger grid containing selected members expanded to the zoom-in level
set in the options. When the Suppress #Missing Rows option is set,
Analysis Services returns only rows with at least one column
containing a non-missing value. SSPROCROWLIMIT defines the maximum
size (number of rows) of the larger grid that Essbase needs to
process. This setting prevents excessive memory usage for a single
spreadsheet operation.
When the Excel Suppress #Missing Rows option is not selected, the
limit is 64000. #********