Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Macro To Change Column Headings

I receive data from outsdie vendors and I would like to know if I would be
able to change column heading descriptions via a macro. For example A1 I
would need changed from BrLoc to Branch ID. B1 Mftg Part No would be changed
to Part Number etc.

Thanks.
--
Bob
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Macro To Change Column Headings

Sub namefixer()
s = Array("Branch ID", "Part Number")
Range("A1:B1") = s
End Sub


add as many titles as you like.
--
Gary''s Student - gsnu200776


"Bob" wrote:

I receive data from outsdie vendors and I would like to know if I would be
able to change column heading descriptions via a macro. For example A1 I
would need changed from BrLoc to Branch ID. B1 Mftg Part No would be changed
to Part Number etc.

Thanks.
--
Bob

  #3   Report Post  
Posted to microsoft.public.excel.programming
Bob Bob is offline
external usenet poster
 
Posts: 972
Default Macro To Change Column Headings

Thanks. Exactly what I needed.
--
Bob


"Gary''s Student" wrote:

Sub namefixer()
s = Array("Branch ID", "Part Number")
Range("A1:B1") = s
End Sub


add as many titles as you like.
--
Gary''s Student - gsnu200776


"Bob" wrote:

I receive data from outsdie vendors and I would like to know if I would be
able to change column heading descriptions via a macro. For example A1 I
would need changed from BrLoc to Branch ID. B1 Mftg Part No would be changed
to Part Number etc.

Thanks.
--
Bob

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Worksheet has numeric column headings. Change to alpha headings? Be Frank Excel Discussion (Misc queries) 1 June 18th 08 04:22 PM
How do I change column and row headings. R[-1] to A,B,C Excel Discussion (Misc queries) 1 June 5th 08 02:53 PM
Is it possible to change a template column headings? If so how? expenseconfused Excel Worksheet Functions 2 May 24th 06 07:07 PM
Can I change column headings A,B,C etc to words lagcdm Setting up and Configuration of Excel 1 January 13th 06 10:43 AM
How do I change the column headings in Excel? scmagnum Excel Discussion (Misc queries) 1 March 23rd 05 05:05 PM


All times are GMT +1. The time now is 03:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"