View Single Post
 
Old 09-13-2018, 05:22 AM
alzasp alzasp is offline Windows 10 Office 2016
Novice
 
Join Date: Sep 2018
Posts: 2
alzasp is on a distinguished road
Default

When I run the macro I get this error and it highlights the red bold code below. Any thoughts on how the fix this?

"Compile error: "User-defined type not defined"
Code:
Dim xlApp As New Excel.Application, xlWkBk As Excel.Workbook