Dear All,
I am constantly getting this Run Time Error 380
I opened the source, set it and even create a dynamic name range.
kindly assist.
pleas see code
Thank you.
Reggieneo
I am constantly getting this Run Time Error 380
I opened the source, set it and even create a dynamic name range.
kindly assist.
pleas see code
Code:
Private Sub UserForm_Initialize()
Dim wkb As Excel.Workbook
Dim wks, wks1 As Excel.Worksheet
Dim Dynamic, DynamicWO, DynamicSOurce As Variant
Call OpenDWS ' the source
Set wkb = Excel.Workbooks("DWS1Carp.xlsb")
Set wks1 = wkb.Worksheets("CVerify")
copied code from '"Smallman"
wks1.Activate
Range("T2", Range("T" & Rows.Count).End(xlUp)).Name = "Dynamic"
Me.ComboBox1.RowSource = "Dynamic"
End Sub
Thank you.
Reggieneo