View Single Post
  #3   Report Post  
David P.
 
Posts: n/a
Default

Thank you Paul. Because I am a novice when it comes to code and where code
goes (other than where macros are stored by default) can you clarify what
your suggestion means...couple of questions:

1) Where does the code go that you suggested?

2) Would the code you suggested be a macro? that formats the value of the
specified cell to "equal the active worksheet's name"?

3)If my cell is A1 for example, which of the following parts of your
suggestion do I change:
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)

4) If it is a macro would the final format look like this (with the
neccesary changes made to your example)?:

Sub macroname()
'
' macroname Macro
' Macro recorded 6/10/2005 by BLINDS ETC
'

'
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)
End Sub

5) Can you suggest a recource for me that might be titled "Visual Basic Code
for Dummies":) ? Thanks again.

--
David P.


"Paul B" wrote:

David, try this, the file must have been saved for this to work

=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003


"David P." wrote in message
...
Is there a way for a cell to equal the worksheet's name?
--
David P.