Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Trying to return cell formatting?

I am trying to return the format settings for alignment of the active cell
i.e. Text Alignment and Text Orientation. All I get now is -4131 and -4128.
I don't know how to interpret those results. I would be grateful if someone
could point me in the right direction. Thanks.

Alan


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Trying to return cell formatting?

I looked up the Range Object in XL/VBA Help and found the description
for the HorizontalAlign property, which can have one of the xlHAlign
constants as a value.

In the Object Browser I found that -4131 corresponds to the constant
xlHAlignLeft.

Similarly Help's description of Range's Orientation property shows that
it can take on one of the xlOrientation constants as a value. Again in
the Object Browser, I found that -4128 corresponds to xlHorizontal.


In article ,
"Alan Ibbotson" wrote:

I am trying to return the format settings for alignment of the active cell
i.e. Text Alignment and Text Orientation. All I get now is -4131 and -4128.
I don't know how to interpret those results. I would be grateful if someone
could point me in the right direction. Thanks.

Alan

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
References omit formatting and return cell address - not data MZ New Users to Excel 1 January 13th 10 03:00 PM
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null Ben Excel Discussion (Misc queries) 2 March 15th 07 01:02 AM
Return adjacent cell if conditional formatting exists. Donna Excel Worksheet Functions 12 November 10th 06 04:34 AM
Conditional Formatting Need to Return to Zero KB Excel Worksheet Functions 3 July 26th 06 10:45 PM
Conditional formatting a #N/A return in a cell? I want it white. Wendy Excel Discussion (Misc queries) 2 January 27th 06 06:55 PM


All times are GMT +1. The time now is 08:28 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"