brianfosterblack
Active Member
- Joined
- Nov 1, 2011
- Messages
- 251
I am using the following formula to show the filename in my workbook named "Mailer", which I then use in my code
I have another workbook with the Name "Members" with the same formula in it.
If I have the Mailer workbook open and then also open the Member Workbook at the same time, my formula in The Mailer workbook changes it result to give the workbook name as Members
The formula in both workbooks gives the result as a Members
Anyone know what is happening and how to prevent this. The result I need is for the formula in each workbook to provide the workbook name without the .xlsm on the end of the name
I can currently achieving that but only if one workbook is open at a time.
Excel Formula:
=MID(CELL("filename"),SEARCH("[",CELL("filename"))+1,SEARCH("]",CELL("filename"))-SEARCH("[",CELL("filename"))-1)
If I have the Mailer workbook open and then also open the Member Workbook at the same time, my formula in The Mailer workbook changes it result to give the workbook name as Members
The formula in both workbooks gives the result as a Members
Anyone know what is happening and how to prevent this. The result I need is for the formula in each workbook to provide the workbook name without the .xlsm on the end of the name
I can currently achieving that but only if one workbook is open at a time.