Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.
Imports System Imports System.Reflection ' For Missing.Value and BindingFlags Imports System.Runtime.InteropServices ' For COMException Imports Excel Namespace or type specified in the Imports 'Excel' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.