Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
eomonth funciton in VBA
Is there a funciton in VBA that is similar to the eomonth function in
excel? Thanks --- Message posted from http://www.ExcelForum.com/ |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
eomonth funciton in VBA
You can use the Analysis Tool Pack function in VBA by first
loading the "Analysis Tool Pak VBA" add in, then in VBA setting a reference to ATPVBAEN.xla. Then, you can call the functions directly as if they were built in to VBA. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "ExcelMonkey " wrote in message ... Is there a funciton in VBA that is similar to the eomonth function in excel? Thanks --- Message posted from http://www.ExcelForum.com/ |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
eomonth funciton in VBA
E-M,
Here is a simple function to do it. Function zEOMONTH(this As Date, Months As Long) zEOMONTH = DateSerial(Year(this), Month(this) + Months + 1, 0) End Function -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "ExcelMonkey " wrote in message ... Is there a funciton in VBA that is similar to the eomonth function in excel? Thanks --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
help with date funciton | Excel Worksheet Functions | |||
Need help with nested funciton using vlookup | Excel Discussion (Misc queries) | |||
Quartile funciton...quintile? | Excel Discussion (Misc queries) | |||
Viewing Funciton Arguments | Excel Worksheet Functions | |||
RANK Funciton | Excel Worksheet Functions |