473,385 Members | 1,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Linespacing

Is it possible to change the linespacing of a text box using vba? If so how
do I do this, which event do I use.
I have tried
me!mytext.linespacing = cLineSpacing
where cLineSpacing is a constant single value
I have put this in the on open event of the report and on format event of
the report detail but this does not seem to work.
Alec
Jan 16 '07 #1
1 2376
Sorted it. I was putting the linespacing in cm instead of twips.
Alec

"Paradigm" <no****@hotmail.comwrote in message
news:AC*******************@newsfe6-gui.ntli.net...
Is it possible to change the linespacing of a text box using vba? If so
how
do I do this, which event do I use.
I have tried
me!mytext.linespacing = cLineSpacing
where cLineSpacing is a constant single value
I have put this in the on open event of the report and on format event of
the report detail but this does not seem to work.
Alec


Jan 16 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Geoff Berrow | last post by:
The host of one of the domains I manage has installed 4.3.11-dev and as a result file uploads no longer work with Internet Explorer. Worth keeping an eye out for. In the meantime I now need to...
2
by: fabien | last post by:
Hi, I am writing a POV-RAY editor with Python using either QT or GTK as GUI 'wrapper'. ( I am still trying both ) * * * * PYGTK * * * * I have downloaded PygtkScintilla-1.99.5. There is a...
2
by: Steven | last post by:
Hi, I have a function which reads all lines from an array and writes them with the required tags. This works fine with IE, but not with Mozilla. On...
1
by: David Lindgren | last post by:
Hello! I am using the DrawString method with different StringAlignments passed to it and the result varies alot! Take a look at this screenshot:...
1
by: Drew | last post by:
I posted this to framework.drawing, but did not get any responses... Maybe here?? I am drawing some text using DrawString() and using a bounding rectangle so that when the string is too long it...
2
by: Doug | last post by:
I have a form with a clients info. There is a subform with messages (date field and a textbox). There can be multiple messages per client. The row height of the message text box in the subform is...
1
by: =?Utf-8?B?QXJ0?= | last post by:
Hello, I'm writing a VB app under Visual Studio 2005 that is to generate a word document using MS Office Word 2007. As I generate new lines of text, it seems to be using the 'Normal' fonts so...
4
by: NJonge01 | last post by:
Hi, I've made a mess of a report. I need to do some cleanup and I need a utility to help me look at all the objects on the report. I used to have some code for listing all the objects on a...
12
by: ThaSaltyDawg | last post by:
I have an application that prints to a Thermal Printer..These are the older printers (brand Zebra 3742) and uses the Serial Com Port 1 & 2. I have that working. We now have two new printers (brand...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.