Large project, need help with a sub that is called out in another sub
This isnt outputting anything and the sub that calls it is working but not this part
`Private Sub Data100()
Dim b1 As Integer
Dim sourceRange As Range
Dim targetRange As Range
b1 = Range("V8").Value
If b1 = 0.015625 Then
Set sourceRange = Range("U150", "X150")
Set targetRange = Range("U201", "U204")
sourceRange.Copy
targetRange.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone,
SkipBlanks:=False, Transpose:=True
End If
End Sub`
no error message, just wont output anything. Would like to copy U150-X150 and output in column U201-U204