Hi
Have 42 buttons arranged like a calender 7 by 6
If first day of month is friday (weekday6) i need to change the text on button to 1.
and for the remaining buttons, so i get a "calendar"
But i will need som kind of array or loop.
For button1 to button42 do the following
check if button1 = first day of month. , if not then button1 is hiding
if button2 = first day of month, write text "1" on button2 text and proceeed to next button
Ect.
so i will end up with ex 30 visible buttons from 1 to 30, that i can click on.
Any help