Remember a location

Hi folks,

Using VBA, I have a userform with a textbox. This textbox is actually a path to a folder. When I quit my userform or close SolidWorks, I want this textbox to remember my path and be there by default. How do I do it. Save the path to a text file? or is there a simpler way?

Thank you brainy people.

Martin

SolidworksApi macros