You need to find out the numeric "value" of erMemFlagUsersOnly ... its an ENUM that can viewed in a number of ways ... the easiest way if you know how, is to go into excel or word, then start tools->macro and start the visual basic editor. From there go tools->references and find that COM object. Select it and click OK, then from vb editror go view->object browser. Look for "all libraries" in the object browser combobox, select this component, then sniff around the interface, should be able to find this enum. If you select it, it should show the value in the bottom panel.