Hi,
i have a macro running which produces me cell address like $GL$3
from the above cell address i just need GL. could you please tell the macro tip to achieve this?
Quick reply will be appreciated.
Thanks in advance...
Hi,
i have a macro running which produces me cell address like $GL$3
from the above cell address i just need GL. could you please tell the macro tip to achieve this?
Quick reply will be appreciated.
Thanks in advance...
Please Login or Register to view this content.
If solved remember to mark Thread as solved
Thanks patel, but i have a question,, i my macro returns only $A$4 then the same code which you have given is applicable??
What do you need the GL for?
If posting code please use code tags, see here.
i have a macro to get the cell address for the value given in a macro.. it searches for a given value in the exceel sheet and gives me cell address, but the cell address is returned as $GL$4, but i need only GL so that i can get identify the range as GL1 to GLn..
Hi, kiran527,
the answer to your question to patel45 is: no.
Maybe use Cells instead of Range and work with the numeric value of the address:
Ciao,Please Login or Register to view this content.
Holger
Use Code-Tags for showing your code: [code] Your Code here [/code]
Please mark your question Solved if there has been offered a solution that works fine for you
You would replace the text $GL$3 with the variable.Please Login or Register to view this content.
As Holger says, you could use the column number.
You might even be able to get that from the code that produces the address.
It sounds Like you only want to have the Active Column displayed.
If so, try this:Please Login or Register to view this content.
Please consider:
Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .
Thanks Holger, your solutions is working for me.. thats cool.. thanks one again
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks