"run-time error 5941: the requested member of the collection does not exist"ĪctiveDocument.ContentControls("Title").Range.Text = TextBox1.TextĪny help or code would be greatly appreciated, thanks. I have tried numerous suggestions from msdn site, but to no avail. This is the requirement from my place of work and i need help pls. Now, rather than entering text/data directly into the template document when it is loaded, I want to use the VBA userform to enter the data so that the data gets transferred to the text areas on the document when a command button is clicked. I have also created a simple VBA Userform with text fields i.e. I labelled the controls as Name, Title etc. On the template, I created few text fields using Content Controls(i.e. I am currently working with Word 2007 template document. Hello All, I need urgent help pls! I am new to working with VBA + Word 2007.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |