Best Fit Macro


L

lms

I created a list of Defined Views that each one shows different fields
in the columns of the contact folder. I then found this macro that is
perfect that I can use to adjust the view of the contacts and decide
which Defined View to show...but the Defined View field areas are not
saving the "Best Fit" area for each field.....Is there something to add
to the macro or another macro to automatically best fit all columns
automatically using the macro?

Sub GetAssignedView_Name_of__Fields()
Dim objViews As Views
Dim objView As View
' Applies view to select folder
Set objViews = Application.ActiveExplorer.CurrentFolder.Views
'Get the view
Set objView = objViews.item("View Defined View Name")
'apply the view
objView.Apply
End Sub
 
Ad

Advertisements


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

Top