Consulting

Results 1 to 3 of 3

Thread: Get Data from embedded Excel object

  1. #1
    Microsoft Word MVP 2003-2009 VBAX Guru gmaxey's Avatar
    Joined
    Sep 2005
    Posts
    3,340
    Location

    Get Data from embedded Excel object

    Can anyone advise me how to access data displayed in an Excel workbox object embedded in Word document. For example if I have an Excel object displayed my document that contains "Some text" in cell(A1), could access that data (e.g., to read it or set the value of another Word range)?

    Thanks
    Last edited by gmaxey; 01-09-2015 at 10:30 PM.
    Greg

    Visit my website: http://gregmaxey.com

  2. #2
    Knowledge Base Approver VBAX Guru macropod's Avatar
    Joined
    Jul 2008
    Posts
    4,435
    Location
    See, for example, the macros I posted at:
    https://social.msdn.microsoft.com/Fo...?forum=worddev
    Although they're designed to do something different, they do show how to go about accessing a range from the embedded workbook.
    Cheers
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    Microsoft Word MVP 2003-2009 VBAX Guru gmaxey's Avatar
    Joined
    Sep 2005
    Posts
    3,340
    Location
    Paul,

    I'll look at that. Thanks.
    Greg

    Visit my website: http://gregmaxey.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •