Setting Variables in PDM Folder Card api VBA

I have created some code that will create a Folder in PDM.  Next I want it to fill out the Folder Data Card.  How do I tell IEdmEnumeratorVariable10 to access  IEdmFolder5 so I can set the variables in the folder card?  Thanks in advance for any help.

SolidworksApi macros