Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Help with msgbox showing cell values

Hi,

I have vba that compares the cells in A1:A10 with the cells in B1:B10.
If the value in A1 is not found in the range b1:b10 I get the error #N/
A in C1.

At the end of my code I would like to display a msgbox with a prompt

("These values were not found;")

and then a list of the values (the ones that caused the #N/A error in
column C

But I do not know how to do this.

Any help is very much appreciated.

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
How to have cell values of 0 showing as blank ALEX Excel Worksheet Functions 9 February 8th 07 06:57 PM
how to create a msgbox showing progress of macro Macropod Excel Programming 1 December 16th 05 01:26 AM
MsgBox with condition and showing details viddom Excel Worksheet Functions 2 August 17th 05 12:38 PM
Showing a Msgbox in the active application donovanm Excel Programming 7 June 29th 04 04:28 PM
Showing Search results in msgbox? Ed[_9_] Excel Programming 1 August 28th 03 05:13 PM


All times are GMT +1. The time now is 06:20 AM.

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"