Thread
:
Using Weekday function with no add-ins
View Single Post
#
1
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
Gary Brown
external usenet poster
Posts: 178
Using Weekday function with no add-ins
BUT...
If, at some point, you needed to have the Analysis Toolbar active in a
workbook that you are distributing (for example, to use the EOMonth( )
formula), to activate it, put this in the 'ThisWorkbook' Open procedure of
your workbook...
Private Sub Workbook_Open()
On Error Resume Next
AddIns("Analysis ToolPak").Installed = True
AddIns("Analysis ToolPak - VBA").Installed = True
End Sub
--
HTH,
Gary Brown
If this post was helpful to you, please select ''YES'' at the bottom of the
post.
"Basil" wrote:
Hiya,
I'm creating an excel model for use by a team of staff in my office.
I've included the weekday function for one part of the model to calculate
days where we shift to/from daylight savings.
The team is huge, not very excel literate, and shift worker types. Hence I
don't want to go round installing the analysis toolpack add-in for them all.
Is there anyway I can get the function to work without using the toolpack?
Perhaps by writing a
VB
function myself? - if so, can you help me with the
code please?
Thanks,
Basil
Reply With Quote
Gary Brown
View Public Profile
Find all posts by Gary Brown