owentmoore
Technical User
I have a macro that selects a number of shapes including text boxes, rectangles, spinners and group boxes.
It works perfectly in excel 2003 but not in excel 2007. Using 2007 I get "run time error 1004, Application defined or object defined error". It looks like whenever I try to select the spinner or group box the error occurs.
Does anyone know why this is hte case and what I can do about it? The line of code that gives the error is as follows:
ActiveSheet.Shapes.Range(Array("Text Box 500", "Rectangle 482", "Group Box 474", "Spinner 475")).Select
Thanks
Owen
It works perfectly in excel 2003 but not in excel 2007. Using 2007 I get "run time error 1004, Application defined or object defined error". It looks like whenever I try to select the spinner or group box the error occurs.
Does anyone know why this is hte case and what I can do about it? The line of code that gives the error is as follows:
ActiveSheet.Shapes.Range(Array("Text Box 500", "Rectangle 482", "Group Box 474", "Spinner 475")).Select
Thanks
Owen