Compass Computing Ltd
Pointing you in the right direction

Archive for August, 2010

Excel – Getting Worksheet Name

In Excel if you need to show, in a cell, the name of the worksheet use this:

First get the filename:

In Cell A1 enter    =Cell(“Filename”)

The result (in a saved file) will be something like:

C:\Users\Jon\Desktop\[Book1.xls]Sheet1

To get just the worksheet:

In another cell enter     =MID(CELL(“filename”,A1),FIND(“]”,CELL(“filename”,A1))+1,32)

 

August 24th, 2010


Calendar

August 2010
M T W T F S S
« Apr   Nov »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Posts by Month

Posts by Category