Hi All,
I have a Userform that sucessfully populates a pair of Source Combo Boxes and a pair of Target Combo Boxes with open Workbook and Worksheet names that I am having trouble using in a VBA formulas.
cboSourceBook, cboSourceSheet, cboTargetBook and cboTargetSheet are the names of the properly populated combo boxes.
The SetSourceWorkbook .... Line generates a Run-time error '424': Object Required error.
This code works as a macro but I wanted to set the Source and Target Workbooks and Worksheets with the values in the Combo Boxes and not have to use the "Workbooks.Open" and drop the "SourceWorkbook.Close" statements.![]()
Please Login or Register to view this content.
Been trying many options to understand why cboSourceBook.Value isn't an Object but I'm lost.![]()
Please Login or Register to view this content.
TIA
Bud
Bookmarks