Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default check contain value with macro


Is there a way to check if activeCell.Value contain this “12ab44”.
need that it equal a Boolean (true false)

ex:

if ActiveCell.Value = "12ab44" then
test1
end i

--
Nadia2
-----------------------------------------------------------------------
Nadia25's Profile: http://www.excelforum.com/member.php...fo&userid=2757
View this thread: http://www.excelforum.com/showthread.php?threadid=47099

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 88
Default check contain value with macro

Maybe

If ActiveCell.Value Like "*12ab44*" Then
test1
End If

hope this helps
Rowan

Nadia25 wrote:
Is there a way to check if activeCell.Value contain this “12ab44”. I
need that it equal a Boolean (true false)

ex:

if ActiveCell.Value = "12ab44" then
test1
end if


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
check box macro Monique Excel Discussion (Misc queries) 1 November 10th 09 05:22 AM
Check Box - Macro code Vicky Excel Discussion (Misc queries) 2 March 17th 09 08:28 AM
Macro for check box [email protected] Excel Discussion (Misc queries) 2 December 30th 08 08:59 PM
Check Box Macro bjh Excel Discussion (Misc queries) 5 June 24th 08 09:46 PM
Check Box Macro Jason Watts Excel Programming 3 January 7th 04 02:46 AM


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