Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default Can I Rotate with a Condition -or- Can I Display Graphics with aFormula

I am trying to write a function that will display less than and
greater than signs, but do so in two directions; I'd like them to go
left to right or up and down.
So my questions is, since I can't find a char() for a reverse caret,
is it possible to either rotate the caret with a conditional, or is
there a way to display graphic characters (which I'll draw) using an
Excel formula?
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Can I Rotate with a Condition -or- Can I Display Graphics with a F

Here's a goopd example of how you can use Excel to rotate an object, but I'm
not sure how to use this concept to reverse a caret...
http://www.andypope.info/charts/3drotate.htm

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Amish" wrote:

I am trying to write a function that will display less than and
greater than signs, but do so in two directions; I'd like them to go
left to right or up and down.
So my questions is, since I can't find a char() for a reverse caret,
is it possible to either rotate the caret with a conditional, or is
there a way to display graphic characters (which I'll draw) using an
Excel formula?
Thanks
.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,489
Default Can I Rotate with a Condition -or- Can I Display Graphics witha Formula

Hi,

With the Symbol font you can use
Char Value
217 Ù Up
218 Ú Down
60 < Left
62 Right


You could use a UDF to rotate a shape.
In a standard code module place the following code.

Public Function RotateFreeform(Name As String, Angle As Long) As Variant
On Error Resume Next
ActiveSheet.Shapes(Name).Rotation = Angle
Exit Function
End Function

Draw a freeform shape on the worksheet. If you draw a V shape then you
can use the following formulas, making sure the shapes name is correct.

V - =rotatefreeform("Freeform 1",180)
^ - =rotatefreeform("Freeform 1",0)
< - =rotatefreeform("Freeform 1",270)
- =rotatefreeform("Freeform 1",90)


Cheers
Andy

Amish wrote:
I am trying to write a function that will display less than and
greater than signs, but do so in two directions; I'd like them to go
left to right or up and down.
So my questions is, since I can't find a char() for a reverse caret,
is it possible to either rotate the caret with a conditional, or is
there a way to display graphic characters (which I'll draw) using an
Excel formula?
Thanks


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default Can I Rotate with a Condition -or- Can I Display Graphics with aFormula

Thanks Andy. I have no explanation for not thinking of using a
different font! lol

On Dec 28, 7:00*am, Andy Pope wrote:
Hi,

With the Symbol font you can use
Char Value * * *
217 * * * * * * * * Up * * *
218 * * * * * * * * Down * *
60 * * * * * * *< * *Left
62 * * * * * * * * *Right

You could use a UDF to rotate a shape.
In a standard code module place the following code.

Public Function RotateFreeform(Name As String, Angle As Long) As Variant
* * *On Error Resume Next
* * *ActiveSheet.Shapes(Name).Rotation = Angle
* * *Exit Function
End Function

Draw a freeform shape on the worksheet. If you draw a V shape then you
can use the following formulas, making sure the shapes name is correct.

V - =rotatefreeform("Freeform 1",180)
^ - =rotatefreeform("Freeform 1",0)
< - =rotatefreeform("Freeform 1",270)
* - =rotatefreeform("Freeform 1",90)

Cheers
Andy

Amish wrote:
I am trying to write a function that will display less than and
greater than signs, but do so in two directions; I'd like them to go
left to right or up and down.
So my questions is, since I can't find a char() for a reverse caret,
is it possible to either rotate the caret with a conditional, or is
there a way to display graphic characters (which I'll draw) using an
Excel formula?
Thanks


--

Andy Pope, Microsoft MVP - Excelhttp://www.andypope.info


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
Does anyone have aformula for Weeks Supply? Mike Excel Discussion (Misc queries) 2 December 24th 08 02:33 PM
Excel 2007 does not display graphics correctly from a Excel 2003 sleeplessinaloha Charts and Charting in Excel 1 September 27th 08 08:05 AM
Graphics Don't Display JeffreyBee Excel Discussion (Misc queries) 1 September 17th 08 08:48 PM
Rotate the display of a spreadsheet Dave Excel Discussion (Misc queries) 2 June 3rd 08 04:54 PM
How I do I rotate text in an excel cell? The rotate commands is g. MickG Excel Discussion (Misc queries) 3 December 13th 04 08:14 PM


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