Hi,
I'm calling the vlookup function from VBA code, but I only get the correct values when the table is sorted. Is this right? I thought the vlookup function could look up unsorted tables for exact matches - indeed, if I use the vlookup as a formula in a worksheet cell it returns the correct...
Hi Mike,
Thank you that was very helpful - I thought it must be something quite straight forward. You live, you learn! Thanks for the tip on error trapping - it's high time my code included some of that.
M.
Hello,
I'm trying to pass the Range Name of the active cell every time the Worksheet_SelectionChange event is called.
This code doesn't work...
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
Dim rangeString As String
rangeString = ActiveCell.name
Call...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.