Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Align to the left or to the right (or center)


Excuse my poor English.
Please I want to *align numeric values to the left side*, or to the
right side, or center it in the cell in Excel. Using Visual Basic.
Maybe using *Format or FormatNumber *or another function which is
capable to align in the way explained.
THANKS VERY MUCH.


--
kaokao1
------------------------------------------------------------------------
kaokao1's Profile: http://www.excelforum.com/member.php...o&userid=35005
View this thread: http://www.excelforum.com/showthread...hreadid=548435

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 360
Default Align to the left or to the right (or center)


Range("C2").HorizontalAlignment = xlLeft
Range("C2").HorizontalAlignment = xlCenter
Range("C2").HorizontalAlignment = xlRight

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Align to the left or to the right (or center)


It works!!!
OK. Friend.
THANKS VERY MUCH

--
kaokao
-----------------------------------------------------------------------
kaokao1's Profile: http://www.excelforum.com/member.php...fo&userid=3500
View this thread: http://www.excelforum.com/showthread.php?threadid=54843

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
How do I center numbers in a cell, but align by decimal? Juliue Excel Discussion (Misc queries) 2 January 28th 09 11:55 PM
How do I center align a title at top of sheet. vee Excel Worksheet Functions 1 September 20th 06 10:00 PM
Center Align John 3:16 Excel Programming 5 November 15th 05 09:00 PM
Left align '$' and right align numbers? skeetley Excel Discussion (Misc queries) 1 October 21st 05 08:12 AM
align text in the center of a range of cells nikolaosk[_9_] Excel Programming 4 October 19th 03 09:44 AM


All times are GMT +1. The time now is 05:09 AM.

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"