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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, I wrote somes lines of code t

Status
Not open for further replies.

intibnin

Programmer
Joined
Feb 13, 2002
Messages
4
Location
TN
Hi,
I wrote somes lines of code that allow me to generate reports on Word document.
among the displayed informations, I had need a table centered on the page and having some colored cells. I dont have the exhaustive list of wordbasic methodes.
is that someone can help me

Note.
about tables, i know these WordBasic methodes :
TableInserttable(nl,nc)
NextCell
But i dont know how colorate cells and center tables in page


thank you for advance
 
intibnin,

Go into Word, select Visual Basic Editor, go to the View menu, select Object Browser. In the Object Browser, in the drop-down in the top-left corner, select Word.

You will now see details all the properties and methods of all the objects in the Word object model. It's a good way of finding out which PEMs you need for a given task.

Mike


Mike Lewis
Edinburgh, Scotland
 
Mike, thank you, I also don't have access to complete word documentation and have often just used trial & error or recorded macros to get word PEMs, that will help a lot!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top