Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How do you lock column width so imported csv file doesn't auto resize the columns

Posted on 2011-03-16
6
Medium Priority
?
688 Views
Last Modified: 2012-05-11
I have a spreadsheet that we import data into. The sheet is a template with a header row and some calculations. Every time we import, the column widths are changed. I have tried several suggestions found in various places but none of them seem to work. I need to be able to add data to the sheet. A protected sheet stops this. What do I need to do to keep my header row like it is and still be able to IMPORT data?
0
Comment
Question by:jbcbussoft
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 81

Expert Comment

by:zorvek (Kevin Jones)
ID: 35151548
If you are doing the import now with VBA then what I suggest is importing into a new worksheet and copying the data from that worksheet to your main worksheet. This way you can maintain control over what is changed in your main worksheet.

Kevin
0
 

Author Comment

by:jbcbussoft
ID: 35152142
I'm importing a csv file. As far as I know I  am not using Visual Basic.
0
 
LVL 81

Expert Comment

by:zorvek (Kevin Jones)
ID: 35152148
If you don't know if you are using VBA then you probably are not.

Would a VBA solution be acceptable?

How are you importing the data now?

Kevin
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:jbcbussoft
ID: 35152195
We are using "Get External Data  From Text"
0
 
LVL 81

Accepted Solution

by:
zorvek (Kevin Jones) earned 1000 total points
ID: 35152232
When on the last panel of the import wizard click the "Properties" button and then uncheck "Adjust column width".

Kevin
0
 

Author Comment

by:jbcbussoft
ID: 35152433
That does the trick. Thanks for your help. You get the gold star and my appreciation.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question