View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default Need help in creating a Script for Users

If you're trying to retrieve values based on a common key (but a unique key),
you may be able to use =vlookup() or =index(match()).

Debra Dalgleish has lots of notes on =vlookup() and =index(match()) he
http://www.contextures.com/xlFunctions02.html (for =vlookup())
and
http://www.contextures.com/xlFunctions03.html (for =index(match()))

(But I'm not sure what you're doing.)

ShadowoftheDarkgod wrote:

Hi!

I have this routinary task that I really want to speed up. We usually have
users coming in at around every 2 weeks. The HR department gives us a list of
users in an Excel Sheet arranged like this:

Column 1 Column 2 Column 3
Username First Name Last Name

We usually follow a template for this said accounts so I usually end up
copying around 20 accounts for every batch that the HR sends us.

Can someone please teach me how to create a script so that I it fetches the
columns for their corresponding tabs? Like Username is for Username First
Name is for first name, Last name, etc. and with an addition of Display Name,
Description, Password (we give them the default password first), and the
default groups in accordance with the template account.

Thanks!


--

Dave Peterson