Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default center a message

I know I can use Chr (10) to put a carriage return in a
msgbox and start a new line in the message.

Is there a way to center the words on a line in the msgbox?

Everything sentence is left justified and I would like to
center some of the sentences.

Thanks for the help.....
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default center a message

Only by padding it on the left with spaces and even then it would be a guess
with a proportional font.

--
Regards,
Tom Ogilvy

"JT" wrote in message
...
I know I can use Chr (10) to put a carriage return in a
msgbox and start a new line in the message.

Is there a way to center the words on a line in the msgbox?

Everything sentence is left justified and I would like to
center some of the sentences.

Thanks for the help.....



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default center a message

chr(9)


-----Original Message-----
I know I can use Chr (10) to put a carriage return in a
msgbox and start a new line in the message.

Is there a way to center the words on a line in the

msgbox?

Everything sentence is left justified and I would like to
center some of the sentences.

Thanks for the help.....
.

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
Center Comments on Center of Screen Raymond W. Excel Discussion (Misc queries) 5 September 15th 09 04:58 PM
Merge and Center and Center Accross Selection Bojingles03 New Users to Excel 3 March 17th 09 07:05 PM
cell will not center Hilary Excel Discussion (Misc queries) 15 August 16th 05 06:18 PM
Center Across Selection Vertically Help. I am trying to center te. msond Excel Discussion (Misc queries) 1 March 29th 05 12:37 PM
Displaying a message in a message box without requiring user to click anything to proceed Android[_2_] Excel Programming 2 June 25th 04 06:44 PM


All times are GMT +1. The time now is 02:38 AM.

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

About Us

"It's about Microsoft Excel"