Nick Booth
New member
- Local time
- Today, 17:32
- Joined
- Jun 25, 2000
- Messages
- 5
I have written code behind a form to create acrosstab query and run it. I want the code to set all the column widths to best fit. Can it be done?
I have used SendKeys to select the columns and DoCmd to open the format columnwidth dialog but the dialog won't accept SendKeys input to 'click' the best fit button. I tried sending 4 Tabs and a return but the dialog didn't even respond inappropriately.
I have used SendKeys to select the columns and DoCmd to open the format columnwidth dialog but the dialog won't accept SendKeys input to 'click' the best fit button. I tried sending 4 Tabs and a return but the dialog didn't even respond inappropriately.