Macro To Change Column Headings

B

Bob

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.
 
G

Gary''s Student

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


add as many titles as you like.
 
B

Bob

Thanks. Exactly what I needed.
--
Bob


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


add as many titles as you like.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top