I'm working on a project (a classroom exercise) that requires constructing a calendar on MS FlexGrid. This is a make-work project, but the skills will transfer to other contexts.<br>
I've got a select case to handle combobox selection of month and code that will give the vbDay for the first of the month and enter numeral on grid. How can I fill the sequential date data starting from the 2nd day of the month?--the location is always different and never at 0,0. If there is a way to address the cells' x,y coordinates in a multidim array type fashion I haven't yet figured it out. The ideal solution would go from, e.g., (1,3).text = "1" (Wed, March 1) to (5,5) Fri, March 31 (The "0" row is dedicated to day headers.)<br>
<br>
Being able to assign a single dimension index number to the grid squares would also work, e.g. 5 X 5 grid having #'s 0 to 24, etc.
I've got a select case to handle combobox selection of month and code that will give the vbDay for the first of the month and enter numeral on grid. How can I fill the sequential date data starting from the 2nd day of the month?--the location is always different and never at 0,0. If there is a way to address the cells' x,y coordinates in a multidim array type fashion I haven't yet figured it out. The ideal solution would go from, e.g., (1,3).text = "1" (Wed, March 1) to (5,5) Fri, March 31 (The "0" row is dedicated to day headers.)<br>
<br>
Being able to assign a single dimension index number to the grid squares would also work, e.g. 5 X 5 grid having #'s 0 to 24, etc.