Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have this *.bas file with the following code -
Attribute VB_Name = "Module1" Function ConCatRange(CellBlock As Range) As String Dim cell As Range Dim sbuf As String For Each cell In CellBlock If Len(cell.Text) 0 Then sbuf = sbuf & cell.Text & ", " Next ConCatRange = Left(sbuf, Len(sbuf) - 1) End Function How would I add this as a module or add-in so it would be available for use. Right now, if I import the file it works but would rather not have to do that for each new file. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Update Personal Workbook Macros when Workbook is opened. | Excel Programming | |||
Using a user-defined function from the Personal workbook | Excel Programming | |||
Personal.xls Workbook | Excel Programming | |||
Personal macro workbook and personal.xls | Excel Discussion (Misc queries) | |||
How to handle other workbook events through personal.xls workbook | Excel Programming |