Hi,
I'm trying to adapt some code to check if a file is already open (get the name of the 'owner' and pass it back) and give the user the option to try again. I plan to create a small userform with a label caption and a button to try again - "... goto tryagain"
However, I'm failing at the first hurdle as I get a runtime error 450 on GetSecurityDescriptor in the function.
I've probably done something stupid, but can't see it - maybe because it's a Friday afternoon and I'm a bit tired...
Code in sub:
Code in function:
Anyone spot the obvious mistake?!
Thanks, TC
Bookmarks