You are here:

Excel/Unable to paste passwords from unencrypted Excel file


I am using Windows 7 and Excel 2010, I would say I am a 7-8 level of proficiency in Excel. I have a business degree and use Excel very often. Here is my question:

I have a text file of 100 randomly generated usernames and passwords to a popular email site. I use this for my business. When I try and use one of these password/username combos to login to the email account via copy/paste from a Word or .txt document, it works fine. However when I transfer this external data from that same .txt file into an Excel CSV and then try to copy/paste the password into the login screen, it will not work. Does that make sense? I can look at the password within excel and manually type it into the login screen exactly as I see it with no problem whatsoever. However when I copy/paste from the Excel file into the password box, I see the dots pop up, showing me that the password transferred, however when I click log in it says the password is wrong. So I know that all the passwords are correct because I can manually type them in. And I know that it isn't merely a copy/paste problem because I can copy/paste them from Word with no problem. I've tried this on two different computers, using both Excel 2010 and 2007 and same result. Please help!

Hi Chris,

I just sent you an email request, but also have a few questions.  I have tried to replicate your problem without success, so I assume I'm doing something differently.  

1. When you transfer the data from the .txt file to an Excel CSV, how do you do that?

2. When you copy the password from the CSV, do you do that within Excel?

3. If you do it from within Excel, do you copy the entire cell containing the password, or do you copy the password text from the formula bar?

4. Is the password a completely numeric value, date, or other data type that Excel might represent internally as other than a text string?

I have set my AllExperts vacation settings so that I won't receive questions for the next several days.  However, I will respond to your email when you answer these questions.


About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here


All Answers

Answers by Expert:

Ask Experts


Damon Ostrander


I have extensive experience with VBA programming in Excel 5 through Excel 2013. As a former aerospace engineer with a large aerospace corporation and consultant in a small defense technology services company, I have developed a wide range of applications in VBA, including simulations involving mixed-language programming, satellite orbit mechanics, graphics and animation, and real-time applications. I am interested in moderate to hard VBA-related questions only.


I have developed and taught several courses in Excel VBA programming and also VBA programming in Office 97, 2000, and 2007. I have developed a number of large technical applications in Excel VBA for use within the aerospace industry.

B.S. in Electrical Engineering and Computer Science, University of California, Berkeley.

©2017 All rights reserved.