shinymcshire
05-14-2008, 02:03 PM
I'm tried recording a macro that selects all of the linked objects (excel charts and spreadsheets) on a Word doc, edits them, force recalculates the entire source excel workbook (I have all of the linked objects in one workbook), then update all of the links in Word.
I kept the vba project window up while I recorded, and I noticed that when I clicked on "Edit Link", that nothing happened (in addition to pressing Ctrl-Alt-F9 to force recalculate the entire excel workbook).
My thought is that this is one of those instances where a macro recorder will not do, and while I do have an excel vba book from John Walkenbach, I do not have one for Word, so I have half of the pieces to the puzzle.
My initial thought is that I'll need to write a sub that calls other subs (one that selects all of the linked charts and spreadsheets on the word doc, then next a sub from excel that will recalculate the entire workbook, then updating the links.
I would appreciate any feedback that you would be able to provide, as I am a vba "greenhorn". Thanks!:dunno
I kept the vba project window up while I recorded, and I noticed that when I clicked on "Edit Link", that nothing happened (in addition to pressing Ctrl-Alt-F9 to force recalculate the entire excel workbook).
My thought is that this is one of those instances where a macro recorder will not do, and while I do have an excel vba book from John Walkenbach, I do not have one for Word, so I have half of the pieces to the puzzle.
My initial thought is that I'll need to write a sub that calls other subs (one that selects all of the linked charts and spreadsheets on the word doc, then next a sub from excel that will recalculate the entire workbook, then updating the links.
I would appreciate any feedback that you would be able to provide, as I am a vba "greenhorn". Thanks!:dunno