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: 87
Default Maco question

Hello

I have a worksheet with several columns. In my macro, I have written code to
identify column number for each heading. e.g. If there is a column with
heading "City", then I have written cl_city=Application.Match("City",
Rows(1),0).
There are several such columns. However, I want to notify user is any of the
column is not existing. So if "City" column is not existing, then macro
should throw a message to user.
How can I do this. I have around 50 columns.

Any help is highly appreciated.

Thank You

Regards,
prm
 
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
Maco code doesn't work. Why? Joe M. Excel Discussion (Misc queries) 2 January 13th 10 07:13 PM
Maco to copy data from wks to wks Tammy H Excel Programming 1 July 11th 07 11:04 PM
A simple maco . . . Steve New Users to Excel 3 January 2nd 05 10:36 PM
A simple maco for someone, but not for me. Bill Wilson[_3_] Excel Programming 2 September 21st 04 03:45 PM
closing form w/ Maco jeffP Excel Programming 4 June 19th 04 10:29 PM


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