+ Reply to Thread
Results 1 to 3 of 3

How to make a function accessible for all workbooks

Hybrid View

  1. #1
    Mark the Shark
    Guest

    How to make a function accessible for all workbooks

    Hi---How can I make this functoin accessible to all workbooks...

    Function coloring(cell)
    '
    ' coloring Macro
    ' Macro recorded 11.05.2005 by AABULABAN
    '
    coloring = cell.Interior.ColorIndex

    End Function

    I have it saved under the Personal workbook, however, it only works
    there and no where else. Please help. Thanks

  2. #2
    Chip Pearson
    Guest

    Re: How to make a function accessible for all workbooks

    If you are calling it from a worksheet cell, you need to include
    the workbook name in the call. E.g.,

    =personal.xls!coloring(A1)


    --
    Cordially,
    Chip Pearson
    Microsoft MVP - Excel
    Pearson Software Consulting, LLC
    www.cpearson.com



    "Mark the Shark" <aabulaban@hotmail.com> wrote in message
    news:96eea73e.0505110354.7b31dbcd@posting.google.com...
    > Hi---How can I make this functoin accessible to all
    > workbooks...
    >
    > Function coloring(cell)
    > '
    > ' coloring Macro
    > ' Macro recorded 11.05.2005 by AABULABAN
    > '
    > coloring = cell.Interior.ColorIndex
    >
    > End Function
    >
    > I have it saved under the Personal workbook, however, it only
    > works
    > there and no where else. Please help. Thanks




  3. #3
    Amr Abulaban
    Guest

    Re: How to make a function accessible for all workbooks



    Thanks a lot...this was very helpful!!!

    *** Sent via Developersdex http://www.developersdex.com ***

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1