Return Partial File Name to Cell
Hi,
I have the following function in my cell:
=MID(CELL("filename"),SEARCH("\[",CELL("filename"))+2,4)
This returns my invoice number, which is the first 4 characters of the file
name.
I tried to create VBA code in my Personal.xls, so that I can enter this code
into invoices more easily, but it keeps putting in the first 4 characters of
the Personal.xls file instead of the current file.
Help!
Thanks!
--
Thanks!
Dee
|