View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jeffery B Paarsa Jeffery B Paarsa is offline
external usenet poster
 
Posts: 17
Default Set the Column/Length format on an Excell sheet

Hello,

When I import an Excel spread sheet to my Access DB table, each Column on my
Access Table gets the default Field Size of 255 with the format of @... How
can I set the lengths of a column to an specific size and format, i.e. 40
char. or Telephone number, or ?

I tried difrent combination of the following with no success:

Sub FmtCell()
Range("A1").EntireColumn.Format.Text = ("Text")
Range("B1").EntireColumn.Format.Special ("Phone")
End Sub
--
Jeff B Paarsa