Hi all,
I need to pass values from my UserForm's TextBoxes to a Named Range as a two dimensional array and it just doesn't seem to work!!
I am using below code to get the values
My UserForm is created dynamically and looks as follows:![]()
Please Login or Register to view this content.
fdsfds.PNG
When I run the code I would get errors if the textbox is blank, hence I used "On Error Resume Next". With such error handling it creates the following named array:
It somehow seems to "ignore" the first two columns "PF" and "FAL", but I don't know why??![]()
Please Login or Register to view this content.
If I instead use
It works just fine, but it's not a two dimensional array![]()
Please Login or Register to view this content.
I want to use such named array to get certain values in my workbook formulas
e.g.
result = 75![]()
Please Login or Register to view this content.
Bookmarks