' -1 is what you want to use if nothing is selected Select a contact then run the macro to test it. Change the template filenames in strTemplate.Right click on Project1 and choose Insert > Module. If its not listed, add C:\Windows\System32\FM20.dll or C:\Windows\FM20.dll as a reference. If you receive a " User-defined type not defined" you are missing the reference to Microsoft Forms 2.0 Object Library. Note, you will need to have a reference to the Forms library in Tools, References. The filename is set in the VBA macro code. This list is for your reference only, not the actual template file name.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |