You need to import
Microsoft.Office.Interop.Excel
namespace (and reference the corrensponding assembly).
Here[
^] you may find sample code.
However, for such a relatively simple task I won't use
<code>
Excel, after all VB.NET is a fully-featured programming language: check out the function definition (for instance
here[
^]) and code it yourself.