JP,
Apologies, I have just tried again using a new work sheet and a new text box and it works perfectly using the original snippet. It even works when grouped. Not sure what is causing the permission error so I shall have to restart the project.
Many thanks
Bookmarks