I am trying to create an export to excel button on my Visual Basic project. However when I import
Imports Microsoft.Office.Interop.Excel and add the reference various things become ambiguous and some events such as “Click” event cannot be found anymore.
I know I can fix the ambiguous issues (but it would be kind of time consuming) however, I am not sure how to fix the “Click” event missing issue.
I am revamping an old application and using the exact same code for the excel exporting and reference importing in which there is no issues, which is why I’m very confused why I am getting these errors.
Any help/solutions would be greatly appreciated, thanks!