SOLVED: Saving hidden/unhidden columns in datasheet
Hello,
I'm struggling with this one.
I have a form, which contains a subform, which is a custom datasheet. It's custom in that the user selects the columns they wish to see (achieved by using ColumnHidden), along with any criteria they've entered in a form. This all works great, except I'd like the user to be able to export this custom datasheet to Excel.
The issue I'm finding is that when exporting the datasheet it doesn't maintain the current hidden/unhidden columns. If the form is closed down and then reopened the subform is updated to reflect the chosen columns. Is there any code I can use to update the subform? Saving the form itself via VBA doesn't see to work.
Thanks for your help,
Russ
Hello,
I'm struggling with this one.
I have a form, which contains a subform, which is a custom datasheet. It's custom in that the user selects the columns they wish to see (achieved by using ColumnHidden), along with any criteria they've entered in a form. This all works great, except I'd like the user to be able to export this custom datasheet to Excel.
The issue I'm finding is that when exporting the datasheet it doesn't maintain the current hidden/unhidden columns. If the form is closed down and then reopened the subform is updated to reflect the chosen columns. Is there any code I can use to update the subform? Saving the form itself via VBA doesn't see to work.
Thanks for your help,
Russ
Last edited: