Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here is my code:
For x = 11 To 298 If .Cells(x, skilly).Value = "x" Then For y = timeStart To timeStart + 7 If .Cells(x, y).Value = "." _ And need 0 Then .Cells(x, y).Value = skillNam need = need - 1 End If Next y End If Next x It works fine, if the criteria is met it adds skillNam to each cell i the row. However I only want it to add it if it can fill the whole row A whole row can be from 32 to 44 cells. If the skill name can be place in the whole row, I want to do it. Or else I want to continue down t the next row and try again. The code needs to be able to do something like xlright. and fill the whole row if it meets the criteria Thanks Thank -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
checking two different cells | Excel Worksheet Functions | |||
IS BLANK checking 2 Cells | Excel Worksheet Functions | |||
Checking cells for 2 conditions | Excel Worksheet Functions | |||
Checking the Cells in Sheet1 with Cells in Sheet2 and replace | Excel Worksheet Functions | |||
Checking valus in cells | Excel Programming |