Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keeping column sizes when updating data from Access

Status
Not open for further replies.

AlexMidd

Programmer
May 14, 2001
655
0
0
NL
I have an Excel spreadsheet linked via data source to an Access database. The problem is that I have to painstakingly adjust all the columns to a particular size every time I update the data. Setting it to autofit is no use as some of the columns would then be too wide, so they all have to be done manually.

Is there any way of setting the columns to a set size and having them stay that way when I update the data?

Have fun! :eek:)

Alex Middleton
 


Hi,

One way is to turn on your macro recorder, set the size of each column. Then run the macro after refreshing the data.

Skip,
[sub]
[glasses] [red]Be Advised![/red] Dyslexic poets...
write inverse! [tongue][/sub]
 
Check in the "data range properties" on the external data toolbar. Uncheck adjust column width.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top