I'm having problems altering the value of a single cell on a sheet that I am not currently working in. Here is my code.
Code:
Sub Button1_Click()
Dim ws As Worksheet
Dim hold As Integer
Worksheets("L1-DIM").Copy _
Before:=ActiveWorkbook.Sheets("L1-DIM")
Set ws = ActiveSheet
ws.Name = "L1-DIM-" & L1D
Worksheets("Creation").Activate
upcount = upcount + 1
L1D = L1D + 1
hold = upcount + 4
Set Audit.Range("A1" & hold).Value = upcount
End Sub
Last edited by a moderator: