Excel VBA : assign formula to multiples dynamic range table in same sheet -
i new , learning excel vba. having problem there more 10 tables in worksheet (number of tables not consistent) the number of columns consistent not rows in each tables i apply total row end of every table after that, apply same formula every table , put results on right side of each table this easy core problem range unknown. - not actual table in excel, tried first define range of data creating table it, again, don't have idea on how create table without knowing range. below came (which not "dynamic") sub plswork() set u = thisworkbook.worksheets("sheet2") set f = u.range("a").find(what:="name", lookat:=xlpart) = f.address set sht = u.range(a) 'trying insert @ end of table total = sum(u.offset(2, 1) + u.offset(3, 1) + u.offset(4, 1)) if cells(i, 2) = vbnullstring 'this not applicable top 2 row in colb has null string u.offset(i, 1).value = total 'putting table name @ f2 u.offset(-2, 5).value = u.offset(-3...