Improving Speed of VBA Code - Copy/paste two sets of variable, Excel does a calculation, returns a value then copy/paste the output value
As best I can tell, Sub CF_Amb_Pr_NG() sets cells C2 and C3 to formulas that changes with each iteration through the loop, then ends with them set to &quot;=R1539C2&quot;.
You then copy cell E2 to each row in column D from 40 to 1539.
Unless there's something going on with the value in C2 and C3 that somehow impact E2, if you really want to stick with the .Select and .PasteSpecial this should do the trick:
Sub test()

  With ThisWorkbook.Worksheets(&quot;Sheet1&quot;)
    .Range(&quot;E2&quot;).Select
    Selection.Copy
    .Range(&quot;D40:D1539&quot;).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
    .Range(&quot;C2&quot;).FormulaR1C1 = &quot;=R1539C2&quot;
    .Range(&quot;C3&quot;).FormulaR1C1 = &quot;=R1539C3&quot;
  End With

End Sub

Otherwise, I'd suggest this which is even easier:
Sub test()

  With ThisWorkbook.Worksheets(&quot;Sheet1&quot;)
    .Range(&quot;d40:d1539&quot;).Value2 = .Range(&quot;e2&quot;).Value2
    .Range(&quot;C2&quot;).FormulaR1C1 = &quot;=R1539C2&quot;
    .Range(&quot;C3&quot;).FormulaR1C1 = &quot;=R1539C3&quot;
  End With

End Sub

It copies E2 to D40 through D1539, then it sets C2 and C3 to the final values they have in your loop.
Make a similar change to Sub CF_RH_NG().

If the value in E2 changes with the values as determined in C2 and C3 for each iteration through the loop, I'd strongly suggest that you add a helper column (out in column Z or LLL or someplace) that calculates E2 for the current row, then simply make the formula in D40 read =LLL40 (manually copy that formula down to D1539 one time), and be done with it - no need for code at all.
 
These simple assignments should execute in a second or two (Excel is notably slow in copying in my recent experience), but significantly less than the 10 minutes you're currently experiencing.

Based on the update, a loop is required, avoiding .Select will still help performance:
Sub test()

  On Error GoTo CleanExit
'  Application.ScreenUpdating = False
  Dim row As Long
  For row = 40 To 1539
    With Sheet1
      .Range(&quot;C2&quot;).FormulaR1C1 = &quot;=R&quot; &amp; CStr(row) &amp; &quot;C2&quot;
      .Range(&quot;C3&quot;).FormulaR1C1 = &quot;=R&quot; &amp; CStr(row) &amp; &quot;C3&quot;
      .Range.Cells.Item(4, row).Value2 = .Range(&quot;e2&quot;).Value2
    End With
  Next
  
CleanExit:
  Application.ScreenUpdating = True
  
End Sub

Note in this case the With Sheet1 - you can use the worksheet's (Name) property as a direct reference to it (you'll have to modify this for your Workbook):

Note that this is not the same as the .Name of the worksheet as displayed on the &quot;tab&quot;:
Additionally, I've added Application.ScreenUpdating = False, but left it commented out for now. Make sure your new code is working properly before enabling this. This will prevent Excel from refreshing the screen with each step it takes. Removing all the UI activity reduces the amount of execution time (it's not a panacea, though). Note the addition of the On Error Goto... to ensure that if anything were to go wrong during execution, it will reenable ScreenUpdating. If you don't weird and confusing things happen.