Hello,
I am trying to write a code that when I press a button I get an X inserted in the relevant cell. If Z5 = 1 then put an X to AB5 if Z6 = 2 then put an X in AC6 (See Below). Eventually the Periods will change and AB through AE should be all filled out with Xs.
The range is dynamic so somethin like:
I appreciate the help.
I am trying to write a code that when I press a button I get an X inserted in the relevant cell. If Z5 = 1 then put an X to AB5 if Z6 = 2 then put an X in AC6 (See Below). Eventually the Periods will change and AB through AE should be all filled out with Xs.
The range is dynamic so somethin like:
Code:
Dim nextrow As Integer
nextrow = WorksheetFunction.CountA(ActiveSheet.Range("T:T"))
I appreciate the help.