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: 2,253
Default Code doesn't go past first IF statement

Matt wrote :

... I can't seem to
get it to check the value of the cell after the user inputs a code
and have it compare the data in an if/elseif statement. Any ideas
would be great. Thanks. Matt

If Target.Cells.Count 1 Then Exit Sub


If NOT Intersect(Target, Me.Range("C13:C15")) Is Nothing Then



--
keepITcool

| www.XLsupport.com | keepITcool chello nl | amsterdam
 
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
Help Identifying code statement Ayo Excel Discussion (Misc queries) 1 November 29th 07 03:50 AM
If statement to replace #VALUE! code jeannie v Excel Worksheet Functions 8 June 27th 07 03:53 AM
Code execution skips Application.Run statement Stuart[_5_] Excel Programming 2 March 6th 04 07:11 PM
Simple code error statement Stuart[_5_] Excel Programming 7 March 3rd 04 08:47 PM
Quick VBA code question (if...then statement) abxy[_31_] Excel Programming 4 February 26th 04 01:04 AM


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

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"