Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Conditional Line/Arrow

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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Conditional Line/Arrow

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." wrote in message
...
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
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
Combobox has no arrow, just a line on the right, what's wrong? Tomatoman Excel Worksheet Functions 2 May 7th 10 06:35 PM
Placing an arrow on the series line in a line chart Rajendra Charts and Charting in Excel 5 February 23rd 10 09:43 AM
Arrow on a line chart as a marker sbigelow Charts and Charting in Excel 1 October 10th 05 04:01 AM
can i have a line with arrow? geowayhu Charts and Charting in Excel 2 October 9th 05 05:19 PM
Conditional line/arrow Ken G. Excel Discussion (Misc queries) 1 October 6th 05 02:06 PM


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