![]() |
#1
|
|||
|
|||
![]()
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 ![]() |
#2
|
||||
|
||||
![]()
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. |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
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 |
![]() |
johnkcalg | Excel | 1 | 02-06-2012 07:33 PM |
Distortion trying to embed excel worksheet | Sugaratias | Word | 0 | 11-26-2011 11:26 AM |
![]() |
csam63 | Excel Programming | 1 | 10-07-2011 10:46 AM |