Solved

how to create and xls spreadsheet with 400 unique password and then email each user only their password

Posted on 2014-07-23
3
245 Views
Last Modified: 2014-07-23
I apologize for the cryptic subject. This is what i am hoping to do. We recently moved to a new email scanning vendor. While they do sync with our AD, they also want us to assign all of our users a "cloud password" just in case AD sync fails for some reason. They need us to upload an xls spreadsheet with specific columns (First and last name, email address, password, etc). I can easily fill out that spreadsheet. Where i am having the problem is creating a column with a unique password for each user and then the ability to email users individually with only their password.

I was hoping someone would have some suggestions.
0
Comment
Question by:msidnam
[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
  • 2
3 Comments
 
LVL 9

Expert Comment

by:skipper68
ID: 40215107
Do you have restrictions as to what the password has to contain?  Uppercase, lowercase, numbers, special characters, minimum length, max length, etc.?

In a quick example, you can use VBA code in Excel to generate random passwords
Public Function RandomizeF(Num1 As Integer, Num2 As Integer)

Dim Rand As String
Application.Volatile
getLen = Int((Num2 + 1 - Num1) * Rnd + Num1)
Do
i = i + 1
Randomize
Rand = Rand & Chr(Int((85) * Rnd + 38))
Loop Until i = getLen
RandomizeF = Rand
End Function

Open in new window


Then, you can use mail-merge with Exchange\Outlook to automatically email the passwords to the users.
0
 
LVL 9

Accepted Solution

by:
skipper68 earned 500 total points
ID: 40215170
You can also use the trial of KuTools for Excel which is fully functional for 45 days.  It does password generation.
Generate Strings
0
 
LVL 2

Author Closing Comment

by:msidnam
ID: 40215352
Excellent. Thank you.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

687 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