RADTorta
New Member
- Joined
- Apr 7, 2016
- Messages
- 17
Hello,
I have this one code i found online (I used the 3rd code listed and took out the column part) that highlights an active cell's Row/Column and it works fine, and even when i sent it to my colleagues it worked fine, however they get this error when they opened it.
"Run-time error '91': Object or variable or with block variable not set"
You can select end or debug and the code will still work, and when i went to see what would be the suggested way to fix it, it took me here But i'm not sure where to put the code to fix this and i'm a little flustered that i can't get it to work the way i want it to.
It's not a huge issue or anything cause like i said it will still do what it's supposed to do but it bothers me personally that an error comes up. Kinda new to VBA, so please bear with me on this dumb question lol.
I have this one code i found online (I used the 3rd code listed and took out the column part) that highlights an active cell's Row/Column and it works fine, and even when i sent it to my colleagues it worked fine, however they get this error when they opened it.
"Run-time error '91': Object or variable or with block variable not set"
You can select end or debug and the code will still work, and when i went to see what would be the suggested way to fix it, it took me here But i'm not sure where to put the code to fix this and i'm a little flustered that i can't get it to work the way i want it to.
It's not a huge issue or anything cause like i said it will still do what it's supposed to do but it bothers me personally that an error comes up. Kinda new to VBA, so please bear with me on this dumb question lol.