Jimbo99999
asked on
VB.Net - Output to Excel as ReadOnly
Good Day Experts!
I have Excel outputting from my VB.Net application. Now I need to make the Excel output ReadOnly. I have tried oWB.ReadOnly = True, with oWB being the Workbook, but I am not allowed to do that.
How can I make the Excel output ReadOnly?
Thanks,
jimbo99999
I have Excel outputting from my VB.Net application. Now I need to make the Excel output ReadOnly. I have tried oWB.ReadOnly = True, with oWB being the Workbook, but I am not allowed to do that.
How can I make the Excel output ReadOnly?
Thanks,
jimbo99999
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
That's what protecting the workbook will do.
ASKER
I finally was able to get it to work. Just thought there would be a ReadOnly setting I could make programatically that would not allow editing when trying ot type in it. The pop-up box indicating password protection directing the User how to unprotect will have to be acceptable.
Thanks,
jimbo99999
Thanks,
jimbo99999
ASKER