SandPiper
SandPiper

Reputation: 2906

Why can I not rename my Excel VBA Class Module?

Renaming an Excel Class Module should be a simple task (i.e. in the Properties Window, select the Name field and change it). I have successfully changed it before, and now I am trying to rename it again, but it gives me this "Can't perform requested operation" error every time:

enter image description here

I have no other modules with the same name that might conflict. What is preventing me from completing this operation?

Upvotes: 1

Views: 1732

Answers (1)

Tim Williams
Tim Williams

Reputation: 166306

You will get this message if you try to rename a class module while the project is in Break mode and the class in "in use"

Upvotes: 1

Related Questions