Wrox Programmer Forums
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 27th, 2005, 11:22 AM
Registered User
 
Join Date: Dec 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to narendrapawar
Default Embedded Excel file

excel file embedded in a word document needs to be accessed programattically in word VBA. Anyone has any idea..thanks

the object can be accessed using .

activedocument.range.inlineshapes(0).oleformat.act ivate...but here it just opens the excel sheet which i dont want..i just want to excel work in background process so that i can access them on the word vba form

Narendra
 
Old April 28th, 2005, 05:02 AM
Authorized User
 
Join Date: Aug 2004
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You need to create an Excel application object in Word VBA code.

Google or Word forum search for 'CreateObject' - lots of code around.

-----------------------
Regards BrianB
Most problems occur from starting at the wrong place.
Use a cup of coffee to make Windows run faster.
It is easy until you know how.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Create excel file without Excel being installed NoXuS C# 4 August 29th, 2009 12:38 PM
Mapping one excel file to another excel file Roshanjoshi2001 Excel VBA 0 December 1st, 2007 07:12 AM
Problem in opening excel file in MS Excel 2000 kallol Visual C++ 0 November 16th, 2007 05:48 AM
Error on Excel Pivotchart embedded images. tortugo Excel VBA 0 March 15th, 2006 12:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.