Home | Careers | IT Counseling | IT Jobs | IT Resources

 

 

 
About Us | Advertise | Feedback | Contact Us | Bookmark this page now|
Have any doubts regarding how to Search IT Training Courses?...Click here for Quick Search Tips Search IT Courses
Have any doubts regarding Keyword Search?...Click here for Quick Search Tips keyword
Have any doubts regarding Institutes Search?...Click here for Quick Search Tips institutes
Have any doubts regarding Specialization Search?...Click here for Quick Search Tips specialization
Have any doubts regarding Fees Search?...Click here for Quick Search Tips fees
to
Have any doubts regarding Duration Search?...Click here for Quick Search Tips duration

IT dart Tips

Which IT course ?

Venture Capital

Online Education

Exams Required for US of A

Overview of Admission Process

Test Preparation

Financial Aid

TOEFEL Examination

Cool Interview Tips

Skill Check

Resume

GRE Examination

GMAT Examination


IT dart News Letter
Get ITdart.com weekly headlines before it's published on our site! Subscribe and receive the articles delivered to your inbox!

Managing Tables

Word tables are extremely powerful. When you want a fill-in-the blank form with a structured table, you can create tables on the fly and stuff values in these. You can then auto-format the table.

Here is the code to do so. This time we'll use Visual Basic code.

You must set reference to the Microsoft Word object library in the Project References dialog before this code can work.

Dim wrd as new word.application
Dim doc as word.document
Dim tbl as word.table
Set doc = wrd.documents.add

* Make Word visible because this is a demo
wrd.visible = true

* Create a new table with 3 rows and 4 columns
set tbl = doc.tables.add(selection.range,3,4)

* The table requires some headings
* Headings are displayed in the first row
Tbl.cell(1,1).range.text = "Name"
Tbl.cell(1,2).range.text = "Age"
Tbl.cell(1,3).range.text = "Sex"
Tbl.cell(1,4).range.text = "Address"

* Stuff remaining values from some data source
* Now format the table using the autoformat feature
tbl.autoformat wdTableFormat.wdTableFormatGrid2
Here is what the table will look like:

Name
Age
Sex
Address

Row Header
Value
Value
Value

Row Header
Value
Value
Value

One Click Courses

Advanced Certiflcate in Java Application Development

Advanced Cisco Router Conflguration

Advanced Course in Object Oriented Programming (Coop)

C#

C# with ASP.Net

CAD/ CAM

Certfication in Unix, C, C++ (CUCC)

Certificate in Advanced System Programming

Certificate in Java & E-commerce (CJEC)

EI -Strategiest

Object Oriented Developer and Designer

Specialization in 3D Graphics & Animation

Wap@Asset


Firewalls: What To Block

Windows System Architecture (WSA)

Operating System (OS)

Data Access Technologies

Functional menu-level blocking

Data Access Methodologies

ODBC Architecture

Learn Java from the ground up

Internet Security

The Day I Learnt JavaScript



ITdart Updates:
Computer Security | Computer Services | CRM | Database | E Commerce | Graphic & Design | Internet | Java | Knowledge Management | Linux | Online Marketing | Open Source | Operating System | Robotics | Semi Conductors | Software Downloads | Virus Info | WAP & 3G | Web Development | XML and Metadata
Home | Careers | IT Counseling | IT Jobs | IT Resources

© Copyright 1999-2000 ITdart.com. All rights reserved.
All brands are Trade Marks of Respective owners. Disclaimer    Legal    Privacy Policy