I have locked a number of cells on my worksheet, unfortunately it causes the workbook to crash when some code runs.
to put it simply., B2 is a date which is locked and the sheet is protected. When i click 'button1' it runs a bit of code which moves the date in B2 on by a month. Excel doesn't seem to like this and I get
<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px 'Helvetica Neue'}</style>
Run-time error '1004':
Is there a way round this
Thanks
to put it simply., B2 is a date which is locked and the sheet is protected. When i click 'button1' it runs a bit of code which moves the date in B2 on by a month. Excel doesn't seem to like this and I get
<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px 'Helvetica Neue'}</style>
Run-time error '1004':
Is there a way round this
Thanks