Vishal Gaikwad
New Member
- Joined
- Jun 7, 2019
- Messages
- 1
Sub DynamicTable()
Dim Lastrow as Long
Set Dtbl=Sheets(Activesheet.Name)
Lastrow=Range("F2").End(XlDown).Row
Dtbl.ListObjects.Add(XlSrcRange,Range("A1:F" & LastRow), , XlYes).Name="Data"
End Sub
Dim Lastrow as Long
Set Dtbl=Sheets(Activesheet.Name)
Lastrow=Range("F2").End(XlDown).Row
Dtbl.ListObjects.Add(XlSrcRange,Range("A1:F" & LastRow), , XlYes).Name="Data"
End Sub