Help with creating a basic Macro ...

I could use some help creating a basic Macro. I've attempted to create it within existing drawings, but it reproduces varying results in different drawings. Some drawings it selects most items, and some drawings it select almost none. I'm hoping to create a Macro that will work across the board for me and other in my workplace. The issue has arisen from finding a work station that was generating colored dimensions and annotations without anyone's knowledge. Now the problem exists of fixing any of these drawings as they are found. I'll list what I would like to do in order of operation, and hopefully this will be enough info for a good working Macro. If I need to specify anything else please let me know.

  1. Under the "Edit" Pull down - Select All or Ctrl A (essentially, I want to select all dimensions and annotations)
  2. On the "Line Format" toolbar - Change Line Color to "Default" (this is to change all dimensions and annotations to the default system settings)
  3. Stop Macro

That's it ... I know it's very basic, but it just doesn't seem to work right for me as mentioned above. Any help would be greatly appreciated.

SolidworksApi macros