Still plugging away on my little project. Have a new twist that I'm once again struggling with...
I've created some VBA to extract query results and display them on an excel template by clicking a command button on a form sheet.
I added a subform to the form.
I would like to extract the sub form info and display it on the excel template as well.
Here's the code so far:
.Range("c16").Value = Me.[2009 Deferral Plan.AwardGroup_Total_Amount].Value
.Range("a66").Value = RSP_AWARD_subform.[Grant_Date].value
Red code takes info from the form and displays it in C16 of an excel spreadsheet. works perfectly.
I intend to have the subform "RSP AWARD" and the content the subform and place them in cells in excel.
My struggles are with identifying the suform I think because I get a "object doesn't support this method" error.
Any help is appreciated.
I've created some VBA to extract query results and display them on an excel template by clicking a command button on a form sheet.
I added a subform to the form.
I would like to extract the sub form info and display it on the excel template as well.
Here's the code so far:
.Range("c16").Value = Me.[2009 Deferral Plan.AwardGroup_Total_Amount].Value
.Range("a66").Value = RSP_AWARD_subform.[Grant_Date].value
Red code takes info from the form and displays it in C16 of an excel spreadsheet. works perfectly.
I intend to have the subform "RSP AWARD" and the content the subform and place them in cells in excel.
My struggles are with identifying the suform I think because I get a "object doesn't support this method" error.
Any help is appreciated.