'ClosedXML creating a table from a range within a sheet

I have been asked if it is possible to create a table from a range within a sheet containing data with ClosedXML. From what I have been told it is very easy within Excel, to select a range and convert it into a table - so I thought for sure ClosedXML must be able to do the same thing.

I read in another post here (4 years old) that this was not possible with ClosedXML, so I'm wondering if this is still the case 4 years later.

I have looked in the docs for an answer, but I'm unable to find exactly what I am looking for. The best I have found is this showcase, section Create an Excel table with the data portion.

However, creating a range object and from that range creating a table object, doesn't affect the sheet from which the range was created I'm thinking.

So, how can one achieve this goal, if at all possible?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source