
Originally Posted by
rpeare
you've hard coded a sheet name into your code so it will always go to the same sheet. You want a variable in there that expresses the name of the excel sheet, so in your 'job posting' table can you add another field that indicates the excel sheet the job listing is on, then you could just substitute in that value where you've stated "Sheet1".
so let's say the field on your form is 'ExcelSheetName' you would just modify your code to
oapp.sheets(ExcelSheetName).select
I am not so sure how this would work on a continuous form but should work just fine on a single form.