Place this code in the worksheet module for Sheet("itbof")... not in Sheet("itmof"). When you click the 'Copy Data' button and then select Sheet("itbof"), your columns should automatically update.
Private Sub Worksheet_Activate()
Dim bottomA As Integer
bottomA = Range("A" & Rows.Count).End(xlUp).Row
Dim bottomL As Integer
bottomL = Range("L" & Rows.Count).End(xlUp).Row
Dim rng1 As Range
Dim rng2 As Range
For Each rng1 In Sheets("itbof").Range("A2:A" & bottomA)
If rng1 <> "" Then
Cells(rng1.Row, 3).Value = "A"
Cells(rng1.Row, 20).Value = "N"
End If
Next rng1
For Each rng2 In Sheets("itbof").Range("L2:L" & bottomL)
If rng2 <> "" Then
Cells(rng2.Row, 9).Value = Cells(rng2.Row, 12).Value * 1.08
End If
Next rng2
End Sub
Bookmarks