Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hello,
I made (copied) a function that returns the Index of the background of a cell. I saved it in a module in my Personal.xls workbook. Having done that, I thought I=B4d be able to use it like: =3DGetColorIndex(B5) But... I have to use it like: =3DPersonal.xls!GetColorIndex(B5) Is there a way to achieve the first option, simply =3DGetColorIndex(B5) without the Personal.xls! part before the function? thanks, Fries |
#2
![]() |
|||
|
|||
![]()
Hi Fries,
One way: In the VBE set a reference to your Personal.xls workbook: Tools | References | Scroll to and tick the Personal.xls project You can then use Personal.xls functions like functions native to the workbook. This requires that the workbook using such functions is a workbook which has been saved at least once. --- Regards, Norman "Fries" wrote in message ups.com... Hello, I made (copied) a function that returns the Index of the background of a cell. I saved it in a module in my Personal.xls workbook. Having done that, I thought IŽd be able to use it like: =GetColorIndex(B5) But... I have to use it like: =Personal.xls!GetColorIndex(B5) Is there a way to achieve the first option, simply =GetColorIndex(B5) without the Personal.xls! part before the function? thanks, Fries |
#3
![]() |
|||
|
|||
![]()
Hi Fries,
Also, functions stored in an Addin can be accesed like native functions. --- Regards, Norman "Fries" wrote in message ups.com... Hello, I made (copied) a function that returns the Index of the background of a cell. I saved it in a module in my Personal.xls workbook. Having done that, I thought IŽd be able to use it like: =GetColorIndex(B5) But... I have to use it like: =Personal.xls!GetColorIndex(B5) Is there a way to achieve the first option, simply =GetColorIndex(B5) without the Personal.xls! part before the function? thanks, Fries |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Huge problem with "if" formula's | Excel Discussion (Misc queries) | |||
Need Excel Function that will return # of char in preceding cell | Excel Worksheet Functions | |||
pmt function in Excel does not return correct monthly payment amou | Excel Worksheet Functions | |||
Function to return value from each tab | Excel Worksheet Functions | |||
need IF function to return 0 if it finds a one out of three words | Excel Worksheet Functions |