Peo, your solution has brought me one step closer, i don't have any
problem with formula errors anymore since i pasted this line
=MID(CELL("Filename";A1);find("]";CELL("Filename";A1))+1;255)
but there arises a new but probably not as problematic problem (ppp

), the field now says #NAMN? (in english #NAME?)
Some calculation error, a box with a lightning logo is visible and if I
click it and choose "Visa beräkningsteg" (Show calculationsteps),
presses "Utvärdera" (Calculate) several times i get these messages in
order.
#NAMN?(CELL("Filename";A1);find("]";CELL("Filename";A1))+1;255)
#NAMN?("C:\[Bok1.xls]Blad1";find("]";CELL("Filename";A1))+1;255)
#NAMN?("C:\[Bok1.xls]Blad1";#NAMN?("]";CELL("Filename";A1))+1;255)
#NAMN?("C:\[Bok1.xls]Blad1";#NAMN?("]";"C:\[Bok1.xls]Blad1")+1;255)
#NAMN?("C:\[Bok1.xls]Blad1";#NAMN?+1;255)
#NAMN?("C:\[Bok1.xls]Blad1";#NAMN?;255)
#NAMN?
Notice that Blad1 is the same as Sheet1
I should also mention that this line
=CELL("filename")
gives me
C:\[Bok1.xls]Blad1
with no errors, so I guess something with the find method could be the
problem?
To Dave, I tried your solution but nothing happened with the cell??
hmm?
Thanks alot everyone, aprecciate it!