Solved

Excel 2007

Posted on 2009-05-16
8
159 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
  • 4
  • 3
8 Comments
 
LVL 9

Accepted Solution

by:
cdaly33 earned 125 total points
Comment Utility
0
 
LVL 83

Expert Comment

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

Author Comment

by:VBdotnet2005
Comment Utility
yes
0
 
LVL 83

Expert Comment

by:CodeCruiser
Comment Utility
Are you using OLEDB or Office Interop?
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:VBdotnet2005
Comment Utility
I am using Office Interop
0
 
LVL 83

Expert Comment

by:CodeCruiser
Comment Utility
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
Comment Utility
I want to know for example, I want to check to see if "Account", "Customer" exist
0
 
LVL 83

Expert Comment

by:CodeCruiser
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now