Hey,
I've been coming to this forum for help, so I finally made an account to ask some questions.
I'm writing a vba that will change a column in a set of tables to the values based on the last row of data for each table. The number of tables isn't constant and is generated by different macro.
So far I have:
Private Sub Hardcode_Tables(ByVal Target As Range)
If Intersect(Target, Range("G:G")) Is Nothing Then 'I don't think "G:G" is allowed
Exit Sub
else
'=============pseudo code ============
'if first column = "last string name (this value is only appears once for each table)" & cell to 2 columns to the right is a numeric nonzero value
'copy from top of continuous data down to where logical is true.
'paste values in the same spot
'advance search starting point to stop looking at cells that have been changed to values
end sub
Thanks
I've been coming to this forum for help, so I finally made an account to ask some questions.
I'm writing a vba that will change a column in a set of tables to the values based on the last row of data for each table. The number of tables isn't constant and is generated by different macro.
So far I have:
Private Sub Hardcode_Tables(ByVal Target As Range)
If Intersect(Target, Range("G:G")) Is Nothing Then 'I don't think "G:G" is allowed
Exit Sub
else
'=============pseudo code ============
'if first column = "last string name (this value is only appears once for each table)" & cell to 2 columns to the right is a numeric nonzero value
'copy from top of continuous data down to where logical is true.
'paste values in the same spot
'advance search starting point to stop looking at cells that have been changed to values
end sub
Thanks