+ Reply to Thread
Results 1 to 2 of 2

Using VBA, how do I get Excel to recognize/select an old Microsoft Graph Chart in Word?

  1. #1
    Registered User
    Join Date
    05-30-2013
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2010
    Posts
    5

    Using VBA, how do I get Excel to recognize/select an old Microsoft Graph Chart in Word?

    Hi, folks!

    I'm really new to VBA, but I've been able figure out most things that I want Excel to do. However, this problem has me stumped!

    Like others I've seen posting to this (and other) message boards, I want Excel to open a Word document and extract information from it. I made my "big breakthrough" yesterday when I got Excel to be able to open a Word doc and control it a bit (I tested it out by seeing if I could maximize the window - success!). And, I can get to to search for strings formatted in a certain way, and assign values to created object according to whether it was able to find each of the strings. But the closest I can get it to selecting the Microsoft Graph Charts is getting it to place the curser just under it. I used the Selection.GoTo What:=wdGoToObject, Which:=wdGoToFirst command, and that's what happened - but even then, inconsistently.

    I need to be able to run this macro for a whole bunch of small documents that follow about the same format, but not exactly. These weren't created with the intention of someone ever being able to extract data from them with Excel; rather, each one was simply created from a Word "template" (not an official Word/Office template, but what was practically used as a template) containing the Microsoft Graph Chart "templates" (same definition) ready to have new data typed into it.

    I'm hoping if someone can just point me in the right direction to get Excel to recognize/open these old objects, then I can take it from there. As long as a macro can be created for it, I'm open to making any modifications to the format/file type/etc. to "prepare" it for extraction. But it'd probably be too much to go through and do it manually for each of the charts in the many, many individual documents.

    Thanks!

    Susie
    Last edited by RainbowGurl44; 08-14-2013 at 09:17 PM. Reason: correcting an error

  2. #2
    Registered User
    Join Date
    05-30-2013
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Using VBA, how do I get Excel to recognize/select an old Microsoft Graph Chart in Word

    Guess I've stumped everybody else, too?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 01-27-2014, 06:18 AM
  2. Replies: 2
    Last Post: 05-21-2009, 12:36 AM
  3. [SOLVED] How does Windows recognize the file as Excel's?
    By Zoo in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-02-2006, 03:55 AM
  4. [SOLVED] Which Excel and Word will work with Windows x64?
    By x64 in forum Excel General
    Replies: 1
    Last Post: 11-09-2005, 09:45 PM
  5. [SOLVED] Can excel recognize a word and auto format a formula, on diffe she
    By brooke in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-20-2005, 04:05 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1