Hi there, first post so hopefully I am doing this correctly.
I am trying to create a process with another program (Revit) for creating formatted schedules (tables). I have plugins that update parameters in our program with an excel file and back.
Basically, I want to have a master sheet and copy each row to a new sheet. I have that and have it works, but I want those copied values to equal the master if it changes and that's the part I am struggling with. This is what I have now.
For reference, the master from the sample I am using now has 517 rows with 168 columns and when I make the 517 sheets, I want all values to equal the first if it updates so that I can have tables that play nice with the first program.
Hopefully that makes any sense.
I am trying to create a process with another program (Revit) for creating formatted schedules (tables). I have plugins that update parameters in our program with an excel file and back.
Basically, I want to have a master sheet and copy each row to a new sheet. I have that and have it works, but I want those copied values to equal the master if it changes and that's the part I am struggling with. This is what I have now.
VBA Code:
Sub RowToSheet()
Dim xRow As Long
Dim i As Long
With ActiveSheet
xRow = .Range("A" & Rows.Count).End(xlUp).Row
For i = 1 To xRow
Worksheets.Add(, Sheets(Sheets.Count)).Name = "Row " & i
.Rows(2).Copy Sheets("Row " & i).Range("A1")
.Rows(i).Copy Sheets("Row " & i).Range("A2")
Next i
End With
End Sub
For reference, the master from the sample I am using now has 517 rows with 168 columns and when I make the 517 sheets, I want all values to equal the first if it updates so that I can have tables that play nice with the first program.
Hopefully that makes any sense.