0

I am trying to write a macro that will retrieve a selected range without having to press the "Retrieve" button under the Essbase Add-In tab. I am getting no where with all the VBA codes I have tried. My code is currently as follows:

Declare Function EssMenuVRetrieve Lib "ESSEXCLN.XLL" () As Long

Sub Update()

Sheets("Analysis").Select
Range("A1:C51").Select
X = EssMenuVRetrieve()

End Sub

When I run this, I get the error message:

"File not found: ESSEXCLN.XLL"

I ultimately want to use this code across multiple workbooks. Can anyone help me solve this issue.

MikeS1818
  • 1
  • 1

0 Answers0