Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.misc,microsoft.public.excel.newusers,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
No Name
 
Posts: n/a
Default Altered Column Width

Folks:


In use one column of my spreadsheet to import a text file. Each day I run a
refresh on the data.
However, after refreshing this data, I notice that the width of the column
into which data is received gets altered.

* How can I prevent the width of the single column from being changed as
I import data from a text file ?



Thanks,
John.





  #2   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.misc,microsoft.public.excel.newusers,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Altered Column Width

Refresh with a macro that has one line to reset the column width

columns(5).columnwidth=12

--
Don Guillett
SalesAid Software

<JoJo wrote in message ...
Folks:


In use one column of my spreadsheet to import a text file. Each day I run
a refresh on the data.
However, after refreshing this data, I notice that the width of the
column into which data is received gets altered.

* How can I prevent the width of the single column from being changed as
I import data from a text file ?



Thanks,
John.






  #3   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.misc,microsoft.public.excel.newusers,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default Altered Column Width

"Don Guillett" wrote...
Refresh with a macro that has one line to reset the column width

columns(5).columnwidth=12

....

Or store the column width in a variable first, import into the column,
then restore the saved column width.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Altered Column Width No Name Excel Discussion (Misc queries) 2 May 4th 07 06:08 PM
Altered Column Width No Name New Users to Excel 2 May 4th 07 06:08 PM
Altered Column Width No Name Excel Worksheet Functions 2 May 4th 07 06:08 PM
Set Column Width Based On Total Width Of Other Columns rayneraingoaway Excel Programming 1 June 28th 06 11:10 PM


All times are GMT +1. The time now is 08:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"