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

AFTER_REFRESH - Clear formatting

$
0
0

Hello all,

 

When I refresh a report with comments, the cells with comments show a #RFR value. When I refresh the report for a second time, the cells display the right value.

In order to avoid a second refresh to the user, I introduce the following function in VBA:

 

Function AFTER_REFRESH()


Dim rep As New EPMAddInAutomation

 

Range("COMMENTS").Select

rep.RefreshSelectedCells

 

AFTER_REFRESH = True

End Function

 

Once the refresh is done, the report shows all the cells correctly but with no formatting.

Before entering this function the formatting was ok.

 

Do you know which could be the reason causing this behavior? Do you know what I'm missing or what can I do to achieve the formatting and the comments cells with just one refresh?

 

Thanks a lof for your help!

Best Regards,

GZ


Viewing all articles
Browse latest Browse all 5414

Trending Articles



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