Gurus,
i'm trying to fill values in tables created:
first problem is that i cannot use .databodyrange to fill in values by looping like this,error will occur:
i tried filling in the 1st value and found out basically the newly created table does not have databodyrange(1,1) so error occurs.
I also tried go further by typing in a random value in databodyrange(1,1) and see how things will go and it works
my solution would be adding a value in the blanked cell under the header to make it databodyrange(1,1)
how do I put that action in coding? Thanks in advance!
i'm trying to fill values in tables created:
VBA Code:
Sheets("abc").ListObjects.Add(xlSrcRange, Cells(1000000, 1).End(xlUp).Offset(1, 0), , xlNo).Name = "ss" & day_week & "summary"
first problem is that i cannot use .databodyrange to fill in values by looping like this,error will occur:
VBA Code:
with table
for x =1 to matrix
for y = 1 to matrix2
databodyrange(matrix*matrix2,1) = xxx
next y
next x
end with
i tried filling in the 1st value and found out basically the newly created table does not have databodyrange(1,1) so error occurs.
I also tried go further by typing in a random value in databodyrange(1,1) and see how things will go and it works
my solution would be adding a value in the blanked cell under the header to make it databodyrange(1,1)
how do I put that action in coding? Thanks in advance!