Solved

Page Breaks and Formatting with FSO

Posted on 2015-01-23
2
73 Views
Last Modified: 2015-01-24
I can create text files in fso with vb6 but is there anyway to control font size and insert page breaks when creating the file?
0
Comment
Question by:Bob Schneider
2 Comments
 
LVL 11

Accepted Solution

by:
Dany Balian earned 500 total points
ID: 40567561
\page inserts page breaks
just write fso.writeline ("\Page")

for other tags: check the following article:
Microsoft: Rich Text Format (RTF) Specification 1.6

so, for font u can use something like: {\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 MS Sans Serif;}}
0
 

Author Closing Comment

by:Bob Schneider
ID: 40568491
Awesome.  Thanks!!
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

762 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now