LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default VBA to Identify changes in row1

Hello,

I inherit database files in Excel format from others. Because they are the
owner of the files, they sometimes modify the Header (in row 1) without
informing others.

Im intending use a macro to verify if any additional new header has been
added or old header being removed.

Example todays file header in row 1 is:
A1 = SupplierCode
B1 = SupName
C1 = SupGroup
D1 = Product
E1 = AltProduct
F1 = Description
€¦€¦etc

Then, tomorrow, he could change by slotting in an extra header called
€śProduct Sales€ť right in the middle of any column.

I just need a very simple code. Just to get VBA to verify from cell A1 right
across to the last cell in row 1. Honestly, I dont even need to know which
specific cell in row1 has been changed. All I need is for VBA to €śtell me
there is a change€ť when I run the code.

Many of my other database suffers the same calamity. I dont mind updating
by re-typing the header into your VBA codes. All I need is a way to spot such
changes.

Thanks a lot.

I'm a VBA rookie.

--
Edmund
(Using Excel XP)
 
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
How to change the row1 content of the existing excel file automically tlee Excel Worksheet Functions 2 April 28th 09 01:47 AM
How to get row2 value into row1 in calculated Field Column in pivo arun Excel Discussion (Misc queries) 0 March 31st 09 08:50 AM
VBA dynamically format Row1 Liz Excel Programming 2 January 6th 06 09:15 PM
how to identify sarans Excel Worksheet Functions 7 October 26th 05 09:15 PM
Trying to identify what is not there Robert[_14_] Excel Programming 2 October 9th 04 11:10 AM


All times are GMT +1. The time now is 03:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"