GetPreviewBitmap Issue

I am currently trying to run vba code to get a bitmap preview featured here:

http://help.solidworks.com/2012/english/api/sldworksapi/get_preview_bitmap_example_vb.htm

When I run the code I get the following error on the "GetPreviewBitmap" line of code.

Thoughts?

-Rick

SolidworksApi macros