Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 460
Default View Code for pointer?

Is their a view code that i can use to make the pointer show a line down the
screen? this would be very helpful when viewing chart data.
--
Thank you!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default View Code for pointer?

Maybe you can make use of this... right click the tab at the bottom of the worksheet that you want this functionality on, select View Code from the popup menu that appears and then copy/paste the following into the code window that opened up...

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Union(Target.EntireColumn, Target.EntireRow).Select
Target.Activate
End Sub

Now, go back to the worksheet and double click any cell and both its row and column will become highlighted. The only downside to this method is if you have "Move Selection after Enter" enabled... hitting the Enter key will still move the selection, but not the highlight... you need to do a regular mouse click anywhere on the grid to remove the highlight or simply double click another cell to move the highlight to it.

--
Rick (MVP - Excel)


"Doug" wrote in message ...
Is their a view code that i can use to make the pointer show a line down the
screen? this would be very helpful when viewing chart data.
--
Thank you!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default View Code for pointer?

You could draw a vertical line (insert line shape), then drag it over
the chart area

Doug wrote:
Is their a view code that i can use to make the pointer show a line down the
screen? this would be very helpful when viewing chart data.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 460
Default View Code for pointer?


--
Thank you!


"Rob van Gelder" wrote:

You could draw a vertical line (insert line shape), then drag it over
the chart area

Doug wrote:
Is their a view code that i can use to make the pointer show a line down the
screen? this would be very helpful when viewing chart data.

.

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
View the code in a add-in sh0t2bts Excel Worksheet Functions 9 April 3rd 23 07:33 PM
view raw sheet code SteveDB1 Excel Programming 0 September 3rd 08 10:17 PM
View Code Mike H. Excel Programming 1 August 29th 07 08:36 PM
Mouse in Code View Sean McPoland[_2_] Excel Programming 1 February 5th 04 04:49 PM
Changing the mouse pointer in code ibeetb Excel Programming 1 September 22nd 03 09:27 PM


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