View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] johnzzhao@gmail.com is offline
external usenet poster
 
Posts: 2
Default automatically get worksheet name

I am new to excel programming, and hope someone can help me out here.

I have a large excel workbook with many worksheet, I wish to use this
function and put worksheet name on the top of each sheet. The
function I have is RIGHT(CELL("filename")|LEN(CELL("filename"))-
FIND("]"|CELL("filename"))).
The problem is it doesn't automatically refresh when I move from sheet
to sheet.

Thank in advance,

John