Use VBA to auto-adjust column widths of subform

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Using Office 2003 and Windows XP:

Is it possible to auto-adjust the column widths of a subform in datasheet
view using VBA?

What I would like is to simulate a double-click on the column header divider
that adjusts the column width of the current column - only have the VBA loop
through each column.

IF possible, could someone please post generic code to do this?

Thanks much in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top