Invoke VBA: Can't perform operation since the project is protected

I have VBA scrip to hide and unhide excel sheet.

  1. calling system/hide.xaml file from main.xaml
  2. i have hide.vba in system, so invoking from system/hide.vba in system/xaml file.

It is working very fine when i do this separately. But when I do this in RE framework, getting below error.

How to sort this out.

Hi
is the workflow been invoked in INVOKE WORKFLOW FILE activity is from another project
@krishbcd

nope. from same one… i have placed under system folder … both the called function and vb script

This is working for xlsx. But vba script is not working .xlsb

HOW CAN I HIDE SPREADSHEET of .xlsb

Thanks,

Hi @krishbcd

Try this in code

https://www.google.com/url?sa=t&source=web&rct=j&url=https://stackoverflow.com/questions/853270/hiding-an-excel-worksheet-with-vba/16177045&ved=2ahUKEwiX35P-q4znAhXDF3IKHVeZBqkQFjALegQIChAC&usg=AOvVaw2pHP_3SBC5QILChSOuxEk5&cshid=1579322852380

Thanks
Ashwin.S

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.