I am getting Run-time error 1004 "Cannot Change Part of a Merged Cell". I am trying to copy Sheet1 cell E11 (merged cells E11:G11) to Sheet2 cell E11 (merged cells E11:G11). Can someone please help me figur out where I am going wrong. Thanks.
Sub PartBalance()
With Sheets("PART REQUEST")
If Range("D11").Value - Range("K11").Value <> 0 Then
Range("B11").Copy Sheets("PURCHASE REQUISITION").Range("M11")
Range("E11").Copy Sheets("PURCHASE REQUISITION").Range("E11")
End If
End With
Sheets("PURCHASE REQUISITION").Range("C11").Value = Sheets("PART REQUEST").Range("T11").Value
If Sheets("PURCHASE REQUISITION").Range("C11").Value > 0 Then
MsgBox "Purchase Requisition Needed " & Sheets("PART REQUEST").Range("E11").Value
End If
Sub PartBalance()
With Sheets("PART REQUEST")
If Range("D11").Value - Range("K11").Value <> 0 Then
Range("B11").Copy Sheets("PURCHASE REQUISITION").Range("M11")
Range("E11").Copy Sheets("PURCHASE REQUISITION").Range("E11")
End If
End With
Sheets("PURCHASE REQUISITION").Range("C11").Value = Sheets("PART REQUEST").Range("T11").Value
If Sheets("PURCHASE REQUISITION").Range("C11").Value > 0 Then
MsgBox "Purchase Requisition Needed " & Sheets("PART REQUEST").Range("E11").Value
End If