apeoortje
Electrical
- Feb 27, 2007
- 1
I have a quick question wouldn't take any of you a second to answer for me.
I'm trying to move cells in excel over by 1 if the value starts with Q3=
However I can't ge the wild card to work
This is what I have so far
Sub Test
Dim j As String
Range("B1").Select
j = Selection.Value
If j = "Q3=" + "?" Then
Range(Selection, Selection.End(xlToRight)).Select
Selection.Cut
ActiveCell.Offset(0, 1).Select
ActiveSheet.Paste
End If
End Sub
I'm trying to move cells in excel over by 1 if the value starts with Q3=
However I can't ge the wild card to work
This is what I have so far
Sub Test
Dim j As String
Range("B1").Select
j = Selection.Value
If j = "Q3=" + "?" Then
Range(Selection, Selection.End(xlToRight)).Select
Selection.Cut
ActiveCell.Offset(0, 1).Select
ActiveSheet.Paste
End If
End Sub