?
Solved

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

Posted on 2008-10-27
1
Medium Priority
?
223 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
[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
1 Comment
 
LVL 14

Accepted Solution

by:
pteranodon72 earned 2000 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
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 …
Suggested Courses

762 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