Send to Back Using VBA

  • Thread starter Thread starter Dominic
  • Start date Start date
D

Dominic

Guest
Help! I have a report that I would like to add a control to and then send it behind other controls.
I can create the control OK, but I cannot 'send to back'. Clearly I can do this manually by selecting the control and clicking 'send to back ' from the menu. But how do I do it programmatically.
I can see the RunCommand acSendToBack but when I do this I get a message that the command cannot be run at this time. It is as though Access doesn't know what control I ma referring to?
Any ideas?

Thanks in advance!
 
Thanks Matt,
Its at run time!
 

Users who are viewing this thread

Back
Top Bottom