Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / March 2008

Tip: Looking for answers? Try searching our database.

Setting various column widths

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jimbob - 31 Mar 2008 14:06 GMT
I have 15 sheets in a workbook and I want to set the column widths
individually but all seem to be re-adjusted by the code I have recorded.  Any
clues why this is so? Here is a sample of my code:

   Columns("L:L").Select
   Selection.ColumnWidth = 6
   Columns("M:M").Select
   Selection.ColumnWidth = 4
   Columns("N:Q").Select
   Selection.ColumnWidth = 35

Thanks in advance
Jim Parker
Klatuu - 31 Mar 2008 15:29 GMT
You should post your question in an Excel newsgroup.  This group is for
Access, the Microsoft database application.
Signature

Dave Hargis, Microsoft Access MVP

> I have 15 sheets in a workbook and I want to set the column widths
> individually but all seem to be re-adjusted by the code I have recorded.  Any
[quoted text clipped - 9 lines]
> Thanks in advance
> Jim Parker
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.