Creating a Macro that works for Multiple Files

I have several tasks that I perform multiple times each day that I want to work on any File I open.

eg. If I select multiple Items I run the Macro and it does 2 things, (1) Rotate everything 270 Degree (2) Removes all Lines

I created the Global Macro, and it worked perfectly but when I opened a New Project of cause it came up with an error because the object names were obviously different. 

Can anyone help me solve this?

Thanks in Advance