Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Return value using partial value of a cell. | Excel Discussion (Misc queries) | |||
return partial string | Excel Worksheet Functions | |||
Locating a file in excel with a partial file name. | Excel Discussion (Misc queries) | |||
Locating a file in excel with a partial file name. | Excel Discussion (Misc queries) | |||
Locating a file in excel with a partial file name. | Excel Discussion (Misc queries) |