I have been trying to convert an Excel macro to VB.net but I'm having problems with the above commands. XlUp, XlDown, XltoRight, and XltoLeft. They all work in the macro but they all throw an error in VB.net. Is there a reference I'm not importing? I have the following Imports:
Imports Microsoft.Office.Interop.Excel Imports Excel = Microsoft.Office.Interop.Excel
If it is a missing Import is there a way to find out which Import is missing by the error?
Thanks all.

