View Single Post
 
Old 02-27-2018, 11:02 AM
garfieldsth garfieldsth is offline Windows 10 Office 2013
Novice
 
Join Date: Feb 2018
Posts: 1
garfieldsth is on a distinguished road
Default

I know this is an older thread but I thought I'd ask for some direction anyway.
I tried the code example and I received a compile error: User-defined type not defined. When I debugged, the error was with this line:

Dim xlApp As New Excel.Application, xlWkBk As Excel.Workbook