Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-14-2010, 08:02 AM
Kimberly Kimberly is offline custom toolbar with buttons to open new docs based on templates Windows 7 custom toolbar with buttons to open new docs based on templates Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Posts: 517
Kimberly is on a distinguished road
Default

No, I am not saying you cannot hide field codes. I am saying that hiding the field codes and performing the merge are not the same thing.



Besides... if your macro creates the doc and then does the merge, the field codes don't have time to display!

Am I missing something? Why would field codes display?
Reply With Quote
  #2  
Old 06-14-2010, 09:19 AM
Brandi Brandi is offline custom toolbar with buttons to open new docs based on templates Windows XP custom toolbar with buttons to open new docs based on templates Office 2003
Novice
custom toolbar with buttons to open new docs based on templates
 
Join Date: Jun 2010
Posts: 13
Brandi is on a distinguished road
Default

Quote:
Originally Posted by Kimberly View Post
No, I am not saying you cannot hide field codes. I am saying that hiding the field codes and performing the merge are not the same thing.

Besides... if your macro creates the doc and then does the merge, the field codes don't have time to display!

Am I missing something? Why would field codes display?
I think I am posting before I am seeing your responses. I tried the code that you suggested above and now it is stopping me on the following line.
.Destination = wdSendToNewDocument

and says "requested object is not available".

Yes, I am trying to have the template open up a new doc with the merged data displayed on the document. Instead, it is opening up a new doc and telling me the requested data is not available and therefore displays the document with field codes before it is merged.
The data source is correct and as I mentioned above, the process works correctly if I manually open the template. Any ideas?

Thank you.
Brandi
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
custom toolbar with buttons to open new docs based on templates Default Custom Dictionary Based on Document PatrickYork Word 3 04-03-2015 11:19 PM
Dock a custom floating toolbar? itgoeson PowerPoint 0 05-25-2010 08:34 AM
Docs open under formatting toolbars clive Word 0 01-22-2010 06:26 PM
command buttons ronf Excel 0 04-28-2006 08:32 AM
command buttons ronf Excel 0 12-03-2005 06:26 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:05 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft