Please help me learn a little more VBA for custom function
Posted by Ken on December 05, 2001 3:30 PM
I am trying to accomplish this. If the cell selected by the custom function contains the word "Training" then the cell would be copied and pasted to the cell below. Here is what I have so far, I know I know, not very good, just trying to learn, Thank you.
Function CopyTraining(x)
If x = "Training" Then
Selection.Copy
Range("A2").Select
ActiveSheet.Paste
Else: Exit Function
End If
End Function