Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default CHECK BOX HELP NEEDED PLEASE


CHECK BOX HELP PLEASE.

My sheet contains 80 rows. (80 competitors). Their results are posted, one
row to a competitor. Starting on row 7
I have a check box (default €“ unchecked) in cell K7. Its purpose is to
indicate if that persons times should qualify for the event. This check box
will be in Col k on every row. There are three timers. The three times are
averaged to give €śThe Time€ť. If they run over their time, this checkbox
should be clicked and the previously entered times in C7,E7,E8 should be
replaced with NIL. I can record a macro to do this on that line, but I want
to use a relative function so that I can copy it down the page to make the
same thing happens on every row (if needed). I have nearly been there but
everytime I get close, I seem to come up with something not quite right. Any
help please much appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 158
Default CHECK BOX HELP NEEDED PLEASE

If you posted your code so far it might be easier to correct it.

Without seeing it, maybe this will point you in the right direction,
although it doesn't work from checkboxes, rather I would suggest placing
a button on your worksheet (use freeze panes to prevent it scrolling off
the visible window).

Sub WriteNilInSelectedRows()
Dim r as range
With Selection.Parent
For Each r In Selection.Rows
.Cells(r.Row, 3) = "NIL"
.Cells(r.Row, 5) = "NIL"
.Cells(r.Row, 6) = "NIL"
Next r
End With
End Sub

Sub WriteNilInAllRows()
With ThisWorkbook.ActiveSheet
Range(.Cells(7, 3), .Cells(87, 3)) = "NIL"
Range(.Cells(7, 5), .Cells(87, 6)) = "NIL"
End With
End sub

HTH,
G


SYBS wrote:
CHECK BOX HELP PLEASE.

My sheet contains 80 rows. (80 competitors). Their results are posted, one
row to a competitor. Starting on row 7
I have a check box (default €“ unchecked) in cell K7. Its purpose is to
indicate if that persons times should qualify for the event. This check box
will be in Col k on every row. There are three timers. The three times are
averaged to give €śThe Time€ť. If they run over their time, this checkbox
should be clicked and the previously entered times in C7,E7,E8 should be
replaced with NIL. I can record a macro to do this on that line, but I want
to use a relative function so that I can copy it down the page to make the
same thing happens on every row (if needed). I have nearly been there but
everytime I get close, I seem to come up with something not quite right. Any
help please much appreciated.

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
Check box hero needed please. Kev Excel Discussion (Misc queries) 3 June 7th 07 02:44 PM
formula needed to sum check marks veena Excel Worksheet Functions 1 February 24th 07 01:52 AM
formula needed to sum check marks john Excel Worksheet Functions 0 February 22nd 07 09:58 PM
formula needed to sum check marks veena Excel Worksheet Functions 0 February 22nd 07 09:57 PM
Comparison / Check Off between 2 excel sheets. HELP NEEDED! sax30 Excel Worksheet Functions 8 April 28th 05 09:13 AM


All times are GMT +1. The time now is 02:11 PM.

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"