Solved

Excel 2007

Posted on 2009-05-16
8
165 Views
Last Modified: 2012-05-07
I want to be able to read and get header of each column in Excel 2007?
0
Comment
Question by:VBdotnet2005
[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
  • 4
  • 3
8 Comments
 
LVL 9

Accepted Solution

by:
cdaly33 earned 125 total points
ID: 24407601
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 24409641
What do you mean by headers? The default A1, A2, B1, B2... headers? or custom headers?
0
 

Author Comment

by:VBdotnet2005
ID: 24418424
yes
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 83

Expert Comment

by:CodeCruiser
ID: 24419280
Are you using OLEDB or Office Interop?
0
 

Author Comment

by:VBdotnet2005
ID: 24454933
I am using Office Interop
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 24455009
Why do you need the headers then? I mean to read excel cells, you refer to them using the row and column headers dont you?
0
 

Author Comment

by:VBdotnet2005
ID: 24500050
I want to know for example, I want to check to see if "Account", "Customer" exist
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 24501308
Would these headers be in fixed positions or variable? If variable, you can run a loop to check the value of each cell and match it to these words. I am assume you are currently able to get a value out of a cell.
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

695 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