Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Need Macro to Find Column Heading -- if none, then insert new column

Using Excel 2002 to manipulate an XML file and save as XLS file which
will be linked as a table to Microsoft Access. The issue is that the
XML file only shows table headings (i.e., column headings in Excel) if
there is data. If no data, then no heading.

Need a macro that will do the following:
1. Find column heading (e.g. "Scheduled Review Date") if exists, then
end the if statement.

2. If heading does not exist, then insert new column and label column
as "Scheduled Review Date".

Thanks for your help.

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
To find the column with its column heading pol Excel Discussion (Misc queries) 8 October 15th 08 05:12 PM
I want column heading non-scrolling and rows of each column scrol Q Abdul New Users to Excel 1 July 22nd 08 03:44 PM
In a table produce an value by column heading and row heading naflan Excel Worksheet Functions 1 December 27th 05 05:18 PM
How do I insert a heading into a column Essee68 Excel Worksheet Functions 1 March 15th 05 12:47 PM
find row value, insert column gaba Excel Programming 0 October 18th 04 06:59 PM


All times are GMT +1. The time now is 05:11 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"