PC Review


Reply
Thread Tools Rate Thread

Conditional Line/Arrow

 
 
JeremyR.
Guest
Posts: n/a
 
      11th Jun 2009
In cell E:23 I have a selection button to choose between two options. I want
to add an arrow to visually help the user know which criteria he is using
based on this drop down box. I am trying to do this in visual basic but do
not know the proper code.

I have two arrows drawn. One is Line 25 & the other is Line 26.

When the cell value = option 1, I want line 25 visible and line 26 not
visible.
When the cell value = option 2, I want line 25 not visible and line 26
visible.

Any help would be appriciated.
 
Reply With Quote
 
 
 
 
Patrick Molloy
Guest
Posts: n/a
 
      11th Jun 2009
if range("E23").Value = 1 then
shapes("Line 25").Visible = true
shapes("Line 26").Visible = false
else
shapes("Line 26").Visible = true
shapes("Line 25").Visible = false
end if

"JeremyR." <(E-Mail Removed)> wrote in message
news:F4E23203-20D8-45E7-8E5C-(E-Mail Removed)...
> In cell E:23 I have a selection button to choose between two options. I
> want
> to add an arrow to visually help the user know which criteria he is using
> based on this drop down box. I am trying to do this in visual basic but
> do
> not know the proper code.
>
> I have two arrows drawn. One is Line 25 & the other is Line 26.
>
> When the cell value = option 1, I want line 25 visible and line 26 not
> visible.
> When the cell value = option 2, I want line 25 not visible and line 26
> visible.
>
> Any help would be appriciated.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Placing an arrow on the series line in a line chart Rajendra Microsoft Excel Charting 5 23rd Feb 2010 09:43 AM
Conditional Formatting Arrow Icon Set Supe Microsoft Excel Misc 0 7th Aug 2009 06:02 PM
How to move from line to line w/o using arrow buttons? =?Utf-8?B?bWlzdHk=?= Microsoft Word Document Management 2 13th Mar 2007 05:55 AM
can i have a line with arrow? =?Utf-8?B?Z2Vvd2F5aHU=?= Microsoft Excel Charting 2 9th Oct 2005 05:19 PM
Conditional line/arrow =?Utf-8?B?S2VuIEcu?= Microsoft Excel Misc 1 6th Oct 2005 02:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:57 PM.