Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi:
This is my macro that I need to fix....If the person does not have any data on the "Daily Attendance" worksheet, I want it to skip that person's data on their named worksheet....In other words, if Craig doesn't have anything on Daily Attendance, I want it to go to the next worksheet and put the correct data in for that person.....I hope this makes sense.......Any help would be appreciated...... Sheets("Daily Attendance").Activate n = Cells(Rows.Count, "A").End(xlUp).Row For i = 1 To n If Cells(i, "A").Value = "Lavendar, Craig" Then v = Cells(i, "C").Value Exit For End If Next Sheets("Craig L").Activate Range("N21").Value = v Sheets("Daily Attendance").Activate n = Cells(Rows.Count, "A").End(xlUp).Row For i = 1 To n If Cells(i, "A").Value = "Blackmon, Jack" Then v = Cells(i, "C").Value Exit For End If Next -- jeannie v |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
source document changes | Excel Discussion (Misc queries) | |||
need to correct scanned document all i get is jumbled words | Excel Discussion (Misc queries) | |||
How can you see the name of the person who has a shared document . | Excel Discussion (Misc queries) | |||
Drawing info from another source document | Excel Discussion (Misc queries) | |||
convert existing Excel into Data source document to link to exist. | Excel Discussion (Misc queries) |