The following code works OK - this essentially triggers an Essbase Zoom event on cell "A4" on worksheet "2. Retrieve":
Declare Function EssVZoomIn Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal range As Variant, ByVal selection As Variant, ByVal level As Variant, ByVal across As Variant)...