I have a few high-level suggestions but can't offer any rewritten code without having your file to see how everything works. Here are my thoughts.
You should use Option Explicit and declare all your variables.
You start out with 12 If statements. Each one asks for user input, and the first time they say Yes then you GoTo another line. I would do this with a UserForm that has 12 option buttons and an OK button instead. That would be so much faster than making the user say No 11 times and finally say Yes.
Not sure why you are making calls like this
You can just do this
You generally do not need to Select objects to work on them, unless you need the user to see what is selected. This is typical of what the macro recorder does.
can be done like this
You then have two long Case Select statements on xyz. They can be combined into one.
can be condensed to this (the first case is weird because you have the OCV case commented out)
That's all I have for now.
Bookmarks