Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Day of month
I have a program which needs a day of month eg. if the action happens
every wednesday in July it would show 5th 12th 19th 26th or if it is every wednesday and friday it would show 5th 7th 12th 14th 19th 21st 26th 28th. I can get this result with a complicated combination of spread sheet formulas and several macro'smacro's. Is it possible to get the result just with a macro ? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Day of month
Hi, here is short and not full example:
Sub DayOfWeek() Select Case Weekday(Date) Case 4 MsgBox "Thursday" Case 6 MsgBox "Friday" Case 7 MsgBox "Saturday" Case 1 MsgBox "Sunday" End Select End Sub Henrich €žI.P" napĂ*sal (napĂ*sala): I have a program which needs a day of month eg. if the action happens every wednesday in July it would show 5th 12th 19th 26th or if it is every wednesday and friday it would show 5th 7th 12th 14th 19th 21st 26th 28th. I can get this result with a complicated combination of spread sheet formulas and several macro'smacro's. Is it possible to get the result just with a macro ? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Day of month
MsgBox Weekday(Now())=vbWednesday
NickHK "I.P" wrote in message oups.com... I have a program which needs a day of month eg. if the action happens every wednesday in July it would show 5th 12th 19th 26th or if it is every wednesday and friday it would show 5th 7th 12th 14th 19th 21st 26th 28th. I can get this result with a complicated combination of spread sheet formulas and several macro'smacro's. Is it possible to get the result just with a macro ? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
excel to make the days cary over month to month automaticly | New Users to Excel | |||
Excel 2003 month to month data change grid | Excel Discussion (Misc queries) | |||
copy worksheet from previous month and rename to current month | Excel Programming | |||
transfer cell $ amount to other sheet month-to-month without overc | Excel Discussion (Misc queries) | |||
Fill column with dates of month depending on month in A1 | Excel Programming |