Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Why do I get an error when calling the SetCellValue method and using a MicrosoftExcel Connector?

Updated on September 10, 2021

In Pega Robot Studio, when you use the SetCellValue method and the MicrosoftExcel Connector to work with a Microsoft Excel spreadsheet, you get the following error message:

Operation is not allowed while Microsoft Excel is in the 'Edit Mode'.

Make sure that the cell you are calling is valid. For example; Excel spreadsheets start at row 1 instead of row zero, so the first valid cell is A1, instead of A0.


  • Previous topic Why can't Robot Studio build projects that are on a network drive?
  • Next topic Robotic Automation glossary

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us