Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3458

Re: VBA Macros code to run a validation using BEFORE_SAVE Function and to Save Data

$
0
0

I’d like the VBA code to make sure that no data gets saved back to the server if any “MISMATCHES” Excel data validation cells are display.

ex1.png

 

I am currently using an EPMSAVEDATA formula at in a separate column with an If statement, but it is not working as planned. Because it is still saving the rows that MATCH……the purpose of this is to do not allow the user to save any data back to the server up until all cells say “TIES”, not just the ones pass the excel data validation.

=IF($M$40="MISMATCHES","NOT SAVING DATA",EPMSaveData(H33,,$L$1,$L$2,$L$3,$L$4,$L$5,$H$32,L33))

ex2.png


Viewing all articles
Browse latest Browse all 3458

Trending Articles



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