Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

VBA macro not working

$
0
0

Current system versions:

 

SAP_BW : 740

CPMBPC : 810

 

EPM add in : Version 10.0 SP 20 .NET 3.5

 

Issue:

 

Following macro is written:

 

Function BEFORE_REFRESH()

If Range("validation") > 1 Then

    MsgBox "Please reduce the selection", vbCritical

    BEFORE_REFRESH = False

Else

   

    BEFORE_REFRESH = True

End If

End Function

 

This is not running as it is supposed to i.e. not throwing the msgbox for the condition specified

 

"validation" is name assigned to a cell.

 

FPMXLClient and FPMXLClient_Olaputilities are activated in references.


Viewing all articles
Browse latest Browse all 5414

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>