Add numbers to a Excel sheet From MS Word doc using VBA
by herman » Sat, 12 Feb 2005 21:47:59 GMT
I have macros in my MS Word to assist in marking essay's by inserting
standard comments to the documents (with buttons in the menue bar).
I would like to have a graph automatically update as I run these
macros.
Therefore I need to either link to an excel sheet and insert numbers
into the Excel sheet by using "MS Word macro's", or i need to be able
to change an embedded sheet with macros in word.
Hope all that makes sense
Can someone please help
Herman
Re: Add numbers to a Excel sheet From MS Word doc using VBA
by Cindy M -WordMVP- » Sat, 19 Feb 2005 18:13:31 GMT
> I have macros in my MS Word to assist in marking essay's by inserting
Oh, it makes sense. And it can be done. You might start by looking at
the "run Excel from Word" article at word.mvps.org
Cindy Meister
INTER-Solutions, Switzerland
http://www.**--****.com/ (last update Jun 8 2004)
http://www.**--****.com/
This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :-)
Similar Threads:
1.Opening A word Doc using VbA Word doc opens but minimizes
I have the following code I use in an Excel 2003 form to open a word
doc 2003. It opens fine but minimizes automatically after it opens.
Any ideas????
Private Sub()
Dim appWord As New Word.Application
Dim myDocument As Word.Document
Set appWord = CreateObject("word.application")
appWord.Application.Visible = True
Set myDoc = appWord.Application.Documents.Open("C:wordfile.doc")
Set myDocument = Nothing
Set appWord = Nothing
End sub
Thanks
D
2.How to detect MS Word or MS Access calls MS Excel using VBA
Hello all
Is it possible to detect which application call the MS Excel using VBA?
I want to put some conditions in the Workbook_Open() method.
IF MS Word call Then
Do Job 1
Else
Do Job 2
Any methods for doing it?
Thanks
Bon
3.using vba to copy from excel to embedded word doc
I am writing a macro which embeds a blank Word document
into an Excel spreadsheet. After embedding the document
(which works), I want to copy information from the Excel
spreadsheet into the embedded Word document. Although I
can manually copy and paste the information, I cannot
figure out how to get the macro to do this. When I use
record macro, it stops recording as soon as I enter the
Word document. When I look directly at the code, I can't
find a command that will do the pasting? Is there a way to
do this? If so, what is the code for it? Thank you.
4.Open WORD doc from EXCEL using VBA
Working in Office 2003, I have information in an EXCEL file which I can
mailmerge manually into a WORD doc.
I would like to automate this process from a button in the EXCEL file to ask
the user if he wants to view the mailmerged WORD doc. which then goes on to
carry out the mailmerge and display the final result in WORD.
If I want to give the option to print out the WORD doc, does this have to be
part of the EXCEL or the WORD macro?
Any help appreciated.
Yendorian
5.Printing MS Word Doc From MS Excel
Hi,
I have a workbook in Excel where I want to be able to
place a button that will print a letter that has been
created in a seperate MS Word documnet.
I have tried recording a macro but nothing happened.
Is there a way to link the two together to enable
this 'button' to produce the letter ??
Thanks
Anthony
6. How to copy and rename MS Excel sheet from MS Access VBA (MS Office 2000)