LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how can I check for cell focus inside a spreadsheet ?

I'm trying to do some "Conditional Formatting" of a range of cells if any
cell in that range is focused on.

example, assuming I've built a payroll spreadsheet, and I'm using rows 2
though 7, (columns A through M).

A2:A7 the list of employee names
B2:B7 the emploee pay rate,
C2:C7 the number of hours the employee worked,
etc., etc until M2:M7 which shows the employees NET wages.

When I focus on any cell within a row, (click in a cell), I want to set up
conditional formatting that will effect all the cells within that row.
(Basically, if I focus in D4, I want cells A4-M4 (the entire row) to have a
solid green pattern with BOLD white text. Then, IF I click in L5, I want
A4-M4 to back to its normal formatting and row A5-M5 to assume the solid
green pattern with BOLD white text.)
 
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
Click inside both Spreadsheet and VBE - Back and forth JMay Excel Discussion (Misc queries) 2 March 5th 07 11:57 AM
How do I get the focus on a check box? reneatwork New Users to Excel 1 September 15th 06 02:52 PM
Spell Check an Unlocked Cell in a Protected Spreadsheet Jill E Excel Worksheet Functions 0 August 22nd 05 07:57 PM
How do I add a check mark in a cell in a spreadsheet in Excel? Carlos A. Excel Discussion (Misc queries) 9 July 6th 05 01:52 AM
Looking for inside sale compensation spreadsheet cgphx Excel Discussion (Misc queries) 0 March 23rd 05 04:05 PM


All times are GMT +1. The time now is 06:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"