Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-11-2013, 12:20 PM
molesy molesy is offline embed excel 2010 into word 2010 using VBA Windows 7 64bit embed excel 2010 into word 2010 using VBA Office 2010 64bit
Novice
embed excel 2010 into word 2010 using VBA
 
Join Date: Sep 2013
Posts: 8
molesy is on a distinguished road
Default embed excel 2010 into word 2010 using VBA

Hi



I have an excel file and i would like to embed into word using vba, form\button\excel code,

Private Sub CommandButton3_Click()

???????

End Sub

thanks
Reply With Quote
  #2  
Old 09-11-2013, 01:08 PM
BobBridges's Avatar
BobBridges BobBridges is offline embed excel 2010 into word 2010 using VBA Windows 7 64bit embed excel 2010 into word 2010 using VBA Office 2010 32bit
Expert
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default

You can do this, Molesy, but it'll take an understanding of the Word object, not Excel. If I were doing this, I'd start by writing a VBA program in Word to embed an Excel worksheet in a Word document. Once you have that working, once you know how it works, you can go back to Excel and do the same thing from that direction by a) starting up the Word application and then b) giving the Word object the same commands that worked when you were actually in Word.

And, of course, if you cannot figure out how to do it in Word—the Word object model is after all very different from Excel—the best place to get help is in the Word forum. The VBA language is the same in both, you understand; its the Word object, its properties and methods, that are different, and the Word forum has the right people to help you understand how to embed a document in Word.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
embed excel 2010 into word 2010 using VBA Word 2010 and Excel 2010 Mail merge - multiple headers robby Word 3 04-18-2012 06:37 PM
Excel 2007 custom ribbon not showing in Excel 2010 Paulzak Excel 2 02-17-2012 06:35 PM
embed excel 2010 into word 2010 using VBA saving data in excel 2010 from excel 2003 johnkcalg Excel 1 02-06-2012 07:33 PM
Distortion trying to embed excel worksheet Sugaratias Word 0 11-26-2011 11:26 AM
embed excel 2010 into word 2010 using VBA VBA code from Excel 2007 in Excel 2010 csam63 Excel Programming 1 10-07-2011 10:46 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:50 PM.


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