Skip to Content

"Object Variable or With Block variable not set" error while refreshing by button in BPC 10

Hello Friends,

I am trying to refresh my input form by giving user a Refresh Button in BPC 10.

For which, I have written below macro code for the same in button press event.

Sub Refresh()

Dim EPMobject As FPMXLClient.EPMAddInAutomation

EPMobject.RefreshActiveSheet

End Sub

On Clicking the button I am getting below error.

Runtime Error '91' :

Object Variable or With Block variable not set.

Kindly help.

Vishal Parmar

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 10, 2012 at 06:06 AM

    Hi,

    Is standard refresh button working?

    Thanks,

    Raju

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.