Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default Alignment in a merged range

Hi all,

On a form there are 3 rows consisting of 5 controls each row. After
inputting, these contents of the controls should also be aligned up neatly in
a merged range cell in the following format:

Row1Field1 Row1Field2 Row1Field3 Row1Field4 Row1Field5
Row2Field1 Row2Field2 Row2Field3 Row2Field4 Row2Field5
Row3Field1 Row3Field2 Row3Field3 Row3Field4 Row3Field5

I can use space() to make each column have same number of character, but
because each char'width is different, for example "1" and "w", so there is
still some
position shift. How can I overcome it?

Clara

--
thank you so much for your help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default Alignment in a merged range

Without gettin fancy - you could just use a monospaced font like courier!
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Alignment in a merged range

The simple answer would be do not use a merged cell.
Then no solution necessary as there is no problem.

NickHK

"clara" wrote in message
...
Hi all,

On a form there are 3 rows consisting of 5 controls each row. After
inputting, these contents of the controls should also be aligned up neatly

in
a merged range cell in the following format:

Row1Field1 Row1Field2 Row1Field3 Row1Field4 Row1Field5
Row2Field1 Row2Field2 Row2Field3 Row2Field4 Row2Field5
Row3Field1 Row3Field2 Row3Field3 Row3Field4 Row3Field5

I can use space() to make each column have same number of character, but
because each char'width is different, for example "1" and "w", so there is
still some
position shift. How can I overcome it?

Clara

--
thank you so much for your help



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default Alignment in a merged range

Hi Ben,

Courier is ok, but it is a little abnormal. Could you tell me another kind
of font more like normal one?

Clara

thank you so much for your help


"Ben McBen" wrote:

Without gettin fancy - you could just use a monospaced font like courier!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
In Cell alignment, how do I update the default vertical alignment How to update default cell alignment Setting up and Configuration of Excel 2 February 4th 09 02:25 PM
Resizing a merged range ReportSmith Excel Programming 5 May 1st 07 03:25 PM
Range text alignment keri Excel Programming 1 December 14th 06 05:51 PM
Range of a merged cell ~L Excel Worksheet Functions 0 September 14th 06 07:21 PM
How do you change the default alignment of merged cells? Jim J. Excel Programming 1 April 18th 06 07:59 PM


All times are GMT +1. The time now is 03:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"