Solved

generatting formatted word file in vb6

Posted on 2006-06-28
1
168 Views
Last Modified: 2012-05-05
hi all,
i would like to generate a word document with all formatting like font formatting and creation of tables.. i think macros are avail to do that.. as i was unfamiliar with it can any one help me ... using macro or suggest me any othe way to do that
thanks in advance
0
Comment
Question by:VIMALCHAND
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 300 total points
ID: 17000107
If you want to generate many similarly formatted documents, you might want to consider creating a template.

Macros are what Word developers call bits of VBA code. VBA code can manipulate most Word objects using the Word Object model. A good place to start is to record macros in Word (Tools/Macro/Record New Macro). Though such recorded macros do have their problems, you can learn a lot by studying the code produced. You can toggle to the VBA editor form the application interface with ALT + F11

In VB6, you can use more-or less the same code as in VBA, so you could copy and paste the code.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question