Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Graph chart in Word (VB related)

Status
Not open for further replies.

huBBLe

Programmer
May 15, 2001
50
SG

hello!

i have a few graph charts in Word and i would like to be able to insert data into the datasheets from my vb app.

how do i go abt accomplishing this?

i already have some bookmarks in the Word doc template and this is how i insert the values:

******************************
Dim AppWord As Word.Document
Set AppWord = GetObject(strFileName)

AppWord.Bookmarks("Value1").Select
Selection.TypeText frmPersonal.txtName(0).Text
*************************************

the solution shld be something close to this i hope.

Thank You
 
Something like this, perhaps ?

Code:
Selection.GoTo What:=wdGoToBookmark, Name:="Your BookMark"
Selection.InlineShapes.AddPicture FileName:= _
"C:\WINNT\Profiles\usrname\Personal\My  _ Pictures\FileName.gif", LinkToFile _
:=False, SaveWithDocument:=True
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top