Johnny Thunder
Well-known Member
- Joined
- Apr 9, 2010
- Messages
- 693
- Office Version
- 2016
- Platform
- MacOS
Hello All,
I have a piece of code that I need to modify since it works so well, it essentially is a Last Row Lookup (Column Based) and defines the last row with an actual formula result.
What I need: I have a variable to replace the column letter "ColumnL" that I need to update the line of code but it doesn't seem to work with different variations that I have tried.
Line: cSht.[match(2,1/(AP:AP<>0))]
cSht = my Variable Sheet
Any help is appreciated.
I have a piece of code that I need to modify since it works so well, it essentially is a Last Row Lookup (Column Based) and defines the last row with an actual formula result.
What I need: I have a variable to replace the column letter "ColumnL" that I need to update the line of code but it doesn't seem to work with different variations that I have tried.
Line: cSht.[match(2,1/(AP:AP<>0))]
cSht = my Variable Sheet
Any help is appreciated.