I am trying to compare text/ InStr textcompare in Excel cells (z1, to z24) in sheet1, 2, 3. This will be compared to say, textbox1.
I want to search the z1,z24 cells for the textbox1 contents.
Here was what I came up with but it doesn't work:
'this is what I came up with, but the 'cellblock' variable is being set to the "text" not the actual cell contents...
'this sets the cellblock variable to "sheet1.range(z1).value" -- where as, it should actually be the "contents" of the cell, not the name of it....
Please Login or Register to view this content.
My crude programming is not allowing it to work correctly. Is there a better way to do this ??
Thanks !
Bookmarks