Code in Cells

M

Murtaza

Can it possible to run code without using VBA editor, like in cell A1:
=Activesheet.name
OR
activecell.value=activesheet.name

any comments?
 
P

Paul B

Murtaza, this will give you the sheet name
=MID(CELL("filename",A2),FIND("]",CELL("filename",A2))+1,255)
file must be saved first

-
Paul B
Always backup your data before trying something new
Using Excel 2000 & 97
Please post any response to the newsgroups so others can benefit from it
** remove news from my email address to reply by email **
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top