General information
Category:
COM/DCOM and OLE Automation
Title:
OLE command for Hyperlink
I use this program to create a four cell Microsoft Word table from VFP. Can anyone show me the command to generate the hyperlink for each cell? I need all the help I can get.
Thanks, Tai Fei Pao
toObject.FileNew()
*-- Insert the text and select it
toObject.Insert(tcText)
toObject.EditSelectAll()
*-- Convert the text to table by selecting the 1st default format from autoformat
toObject.TextToTable(0,4, , , ,3)
toObject.BorderInside()
toObject.BorderOutside()
toObject.NextCell()
toObject.Hyperlink()
*toObject.NextCell()
toObject.TableSelectRow()
toObject.Bold(0)
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only