Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how to select entire row and column in a sigle cell selection

i want to select the entire row and entire column on selecting a single cell.
is it possible
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default how to select entire row and column in a sigle cell selection

Shift+space to select entire row
Ctrl+space to select entire column
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"sabu varoor" wrote:

i want to select the entire row and entire column on selecting a single cell.
is it possible

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default how to select entire row and column in a sigle cell selection

You can do that with event code. Right click the tab on the worksheet you
want this functionality for and then copy/paste this code into the code
window that appeared...

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Intersect(Target, Range("D:F")) Is Nothing Then Exit Sub
Application.EnableEvents = False
Union(Target.EntireColumn, Target.EntireRow).Select
Application.EnableEvents = True
End Sub

You didn't say for what range of cells you want this functionality, so I set
it up for columns D, E and F as an example... just change the range to suit
your needs. If, on the other hand, you want this functionality for the
entire sheet and not just a range of cells on that sheet, use this code
instead...

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Application.EnableEvents = False
Union(Target.EntireColumn, Target.EntireRow).Select
Application.EnableEvents = True
End Sub

--
Rick (MVP - Excel)


"sabu varoor" <sabu wrote in message
...
i want to select the entire row and entire column on selecting a single
cell.
is it possible


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 622
Default how to select entire row and column in a sigle cell selection

On Dec 22, 6:54*am, sabu varoor <sabu
wrote:
i want to select the entire row and entire column on selecting a single cell.
is it possible


If you want to select both the row and column, but not the whole
sheet, you'll have to use the mouse. CTRL-Click on the row and column
headers. And then you'll have to use Tab to get the proper cell active
if that is what you want.
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
MS Excel: hide a selection of data (not an entire row or column)? Panda Q Excel Discussion (Misc queries) 4 August 13th 08 10:11 PM
Select last cell in Selection jlclyde Excel Discussion (Misc queries) 4 June 27th 08 09:23 PM
how to multiply below and above with a sigle cell referrance Tax calculation with a single referrance Excel Discussion (Misc queries) 0 October 3rd 07 07:17 AM
Use find to select entire rows with a cell with that value Franky88 Excel Worksheet Functions 2 March 30th 07 06:38 PM
Find and REPLACE within a selection, or column- not entire sheet/. smithers2002 Excel Worksheet Functions 4 April 21st 05 04:45 PM


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