+ Reply to Thread
Results 1 to 3 of 3

Get Column headers using VBA

  1. #1
    Registered User
    Join Date
    05-04-2021
    Location
    India
    MS-Off Ver
    2019
    Posts
    29

    Get Column headers using VBA

    Hi is this possible to get column header name instead of column numeric value
    Please Login or Register  to view this content.
    using VBA in below sample code.


    Please Login or Register  to view this content.

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    9,259

    Re: Get Column headers using VBA

    Please Login or Register  to view this content.
    Or did you mean the Header in Row 1 of said Column...
    Please Login or Register  to view this content.
    Last edited by sintek; 05-07-2021 at 09:30 AM.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere.....
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember......Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    2013 on Win10 (desktop), 2007 on Win10 (notebook)
    Posts
    8,082

    Re: Get Column headers using VBA

    Hi mailtoashok13,

    why not simply use

    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Extract multiple row headers and column headers if criteria is met in multiple columns
    By PaulM100 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 09-20-2019, 04:56 AM
  2. Filter Data Set using Row Headers in lieu of Column Headers
    By bsnell in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-30-2019, 11:43 AM
  3. [SOLVED] Copy multiple column and paste in the template based on column headers VBA
    By rakul_rakul in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-24-2018, 01:23 PM
  4. VBA Excel: Copy/Paste a column range to another sheet IF column headers match
    By hwatson86 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 06-07-2016, 08:05 AM
  5. Replies: 1
    Last Post: 02-03-2016, 02:33 AM
  6. [SOLVED] listbox with column headers as a specific sheet column headers
    By ANDREAAS in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-07-2014, 04:40 AM
  7. Replies: 2
    Last Post: 05-09-2012, 01:30 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1