G
Guest
hi
Is there a way to turn the Header/footer from a form on and off using VBA
code?
thanks
Steve
Is there a way to turn the Header/footer from a form on and off using VBA
code?
thanks
Steve
try
me.HeaderSectionName.visible=False ' Or True
Or FooterName
If you run it not from the form then
Forms![FormName].HeaderSectionName.visible=False ' Or True
steve said:hi
Is there a way to turn the Header/footer from a form on and off using VBA
code?
thanks
Steve
steve said:hi
It doesn't work because I've got no formheader/footer made in the form.
I won't to make it just like you do in the menu bar but then with the help
of VBA.
Not turn it visible
Any suggestions?
Steve
"Ofer" schreef:
try
me.HeaderSectionName.visible=False ' Or True
Or FooterName
If you run it not from the form then
Forms![FormName].HeaderSectionName.visible=False ' Or True
steve said:hi
Is there a way to turn the Header/footer from a form on and off using VBA
code?
thanks
Steve
Then create the form header and footer, when you open it in design view,
select on the toolbar, view, form header and footer, and now using the vba I
wrote in the earlier post, hide it if you dont need it.
steve said:hi
It doesn't work because I've got no formheader/footer made in the form.
I won't to make it just like you do in the menu bar but then with the help
of VBA.
Not turn it visible
Any suggestions?
Steve
"Ofer" schreef:
try
me.HeaderSectionName.visible=False ' Or True
Or FooterName
If you run it not from the form then
Forms![FormName].HeaderSectionName.visible=False ' Or True
:
hi
Is there a way to turn the Header/footer from a form on and off using VBA
code?
thanks
Steve