+ Reply to Thread
Results 1 to 2 of 2

fixing column width

  1. #1
    John P
    Guest

    fixing column width

    We create on a regular basis from Excel space delimited files for import to
    other programs that require the width of the columns to be fixed. Problem
    has come up that depending on which computer we are looking at the same file
    a column width may be the required 4 characters wide but on the next
    computer it show as 3.87 characters wide. How do we get the column width to
    stay fixed at 4 no matter what computer is viewing the file? If it was only
    one column this would be easy but we are talking about many columns that all
    are okay on one computer but not on the other computer.



  2. #2
    Registered User
    Join Date
    07-23-2004
    Posts
    9
    One workaround would be to create the following macro and save it in your workbook:

    Sub auto_open()
    '
    Sheets("Sheet1").Select
    Cells.Select
    Selection.ColumnWidth = 4
    Range("A1").Select

    '
    End Sub

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1