Sub Macro1()
'
' Macro1 Macro
' Macro recorded 8/27/2002 by Me
'
If ListBox1 = "Computer" Then
Range("D9").Select
Application.CutCopyMode = False
Selection.Copy
Range("C9").Select
ActiveSheet.Paste
ElseIf ListBox1 = "Monitor" Then
Range("D10").Select
Application.CutCopyMode = False
Selection.Copy
Range("C10").Select
ActiveSheet.Paste
End If
End Sub
Welp, If my list box has 'Computer' selected, and the Macro buttom is hit, it should copy the word Computer "D9" and paste it in "C9"
Im doing something wrong, please help me!
This message was edited by rogersj on 2002-08-27 17:33
'
' Macro1 Macro
' Macro recorded 8/27/2002 by Me
'
If ListBox1 = "Computer" Then
Range("D9").Select
Application.CutCopyMode = False
Selection.Copy
Range("C9").Select
ActiveSheet.Paste
ElseIf ListBox1 = "Monitor" Then
Range("D10").Select
Application.CutCopyMode = False
Selection.Copy
Range("C10").Select
ActiveSheet.Paste
End If
End Sub
Welp, If my list box has 'Computer' selected, and the Macro buttom is hit, it should copy the word Computer "D9" and paste it in "C9"
Im doing something wrong, please help me!
This message was edited by rogersj on 2002-08-27 17:33