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

Re: Remove workbook protection in VBA

$
0
0

Hi Lars,

 

You can try using the EPM macro to first unlock the sheet, and then use your code for grouping and ungrouping.

 

Sub TEST()

Dim ABC as New EPMAddInAutomation

ABC.SetSheetOption Sheet1, 300, TRUE, "password"

End Sub

Hope this helps.


Viewing all articles
Browse latest Browse all 8695

Trending Articles



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