Good Morning,
Recently I was helped with an issue and given a solution of this Macro to run.
I am trying to take attendance the following way;
Column A will be all possible attendees
Column B will be all attendees that sign in
Column C will tell me all of the attendees that did not sign in (this is the Macro i was given)
I am good with the Macro on one sheet, and I can even open the Macro (Alt F11) and change the sheet name if i need to.
What i am wondering is this; is there are way to have multiple sheets(tabs), each new sheet will be a date (2-11, 2-13, 2-25, 2-27, 3-3, 3-5, etc...)
Is there a way to have one Macro run each days attendance while keeping the individual sheets named by date?
Will i need to change the Macro on each day to check attendance?
Thanks for the help, and please let me know if i was not very clear so i can explain better.
Brown
Sub LASSO()
Dim Ary As Variant
Dim i As Long
Ary = Sheets("LASSO").Range("b1").CurrentRegion.Value2
With CreateObject("scripting.dictionary")
For i = 2 To UBound(Ary)
If Not Ary(i, 1) = "" Then .Item(Ary(i, 1)) = Empty
Next i
For i = 2 To UBound(Ary)
If .exists(Ary(i, 2)) Then .Remove Ary(i, 2)
Next i
Sheets("LASSO").Range("c2").Resize(.Count).Value = Application.Transpose(.keys)
End With
End Sub
Recently I was helped with an issue and given a solution of this Macro to run.
I am trying to take attendance the following way;
Column A will be all possible attendees
Column B will be all attendees that sign in
Column C will tell me all of the attendees that did not sign in (this is the Macro i was given)
I am good with the Macro on one sheet, and I can even open the Macro (Alt F11) and change the sheet name if i need to.
What i am wondering is this; is there are way to have multiple sheets(tabs), each new sheet will be a date (2-11, 2-13, 2-25, 2-27, 3-3, 3-5, etc...)
Is there a way to have one Macro run each days attendance while keeping the individual sheets named by date?
Will i need to change the Macro on each day to check attendance?
Thanks for the help, and please let me know if i was not very clear so i can explain better.
Brown
Sub LASSO()
Dim Ary As Variant
Dim i As Long
Ary = Sheets("LASSO").Range("b1").CurrentRegion.Value2
With CreateObject("scripting.dictionary")
For i = 2 To UBound(Ary)
If Not Ary(i, 1) = "" Then .Item(Ary(i, 1)) = Empty
Next i
For i = 2 To UBound(Ary)
If .exists(Ary(i, 2)) Then .Remove Ary(i, 2)
Next i
Sheets("LASSO").Range("c2").Resize(.Count).Value = Application.Transpose(.keys)
End With
End Sub