Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 533
Default Seems a bug in setting Style.Orientation property

The Excel object model (and its bugs) has nothing to do with what Excel does
internally. Two different things entirely.

--
Jim
"Raja" wrote in message
...
BUT i wonder how Excel Cell Format dialog could detect that!!!!
it seems to me there is a missing property

"Jim Rech" wrote:

I agree, seems to be a bug. I'm not sure how you would detect whether a
style has vertical alignment.

A related anomaly is, after doing this:

ActiveWorkbook.Styles("Normal").Orientation=xlVert ical

doing this has no effect:

ActiveWorkbook.Styles("Normal").Orientation=xlHori zontal

But if you interpose either of these:
ActiveWorkbook.Styles("Normal").Orientation=xlDown ward
ActiveWorkbook.Styles("Normal").Orientation=xlUpwa rd

then it does.

--
Jim
"Raja" wrote in message
...
| Hi,
|
| I set the Style.Orientation property to xlVertical as follow:
|
| ActiveWorkbook.Styles("Normal") .Orientation = xlVertical
|
| Looking on the value of the Orientation property after the assignment,
it
| still have
| the xlHorizontal value. However In Cell Formats dialog, it appear
correct
|
| Any idea?
|
| Raja




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
unable to set the Orientation property of the PivatField class Dan Excel Programming 0 October 15th 07 03:01 PM
Unable to set the Orientation property of the PageSetup class Aero[_2_] Excel Programming 1 March 17th 06 01:03 PM
Unable to set the orientation property of Pivitfield class anu_manu Excel Programming 0 March 2nd 06 08:06 PM
Cannot Set the Orientation Property of a Pivot Field Suresh Babu Gona Excel Programming 1 August 6th 04 01:04 PM
Problem with setting Pivot Table data orientation Norm[_5_] Excel Programming 0 April 22nd 04 10:27 PM


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