How would the "$P$2:$T$4" string be assigned to your strRange variable in the actual code? Using the range object's address property? What do you want to do with the first cell's address once you have it?
How would the "$P$2:$T$4" string be assigned to your strRange variable in the actual code? Using the range object's address property? What do you want to do with the first cell's address once you have it?
Hi Colin, yes, I by using the object's address property I assign a value to strRange
On my sheet a user can select with a RefEdit-control a certain range from which I need the upperleft-, and the lowerright-corner. I need these for a VBA-function which creates a giant matrix (since my matrix has more than 73 variables I cannot use array-functions, so I need UDF's).
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.