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
Solved

Is there a script to automate changing headers in an excel file?  say..excel 2003?

Posted on 2008-10-27
1
219 Views
Last Modified: 2010-04-16
I want to change the headers to be Active Directory Import friendly.  So for example I have email address I want to change to a heading called "mail" and lastnames to the ad friendly surname.  How can I do this?  Thanks.
0
Comment
Question by:Sp0cky
1 Comment
 
LVL 14

Accepted Solution

by:
pteranodon72 earned 500 total points
ID: 22816593
It sounds like you are exporting a table to Excel and have undesirable field names.  Why don't you just create a query on the table, drag all the needed fields onto the grid, and rename the fields in question by typing a NewName: in front of the current field name.  Then, just export the query instead of the table.

The query SQL will look something like

SELECT  email as mail, lastname as surname, ..... FROM yourTable;

HTH,

pT
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

840 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