Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default declaring a certain value


Hi,

I'm trying to add to an if statement, saying that if a cell is equal to
a certain value, then to ignore it. I'm new to visual basic and I just
dont know how to declare that value. I have in bold what I have tried
to do.

If ActiveCell.Characters.Count 13 Or Not only_text(ActiveCell) *Or
ActiveCell.Value("RM UCONN SFA") * Then

Thanks for the help,

-Steve


--
thephoenix12
------------------------------------------------------------------------
thephoenix12's Profile: http://www.excelforum.com/member.php...o&userid=24336
View this thread: http://www.excelforum.com/showthread...hreadid=382772

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default declaring a certain value

Or Ucase(ActiveCell.Value) = "RM UCONN SFA"

--
Regards,
Tom Ogilvy


"thephoenix12"
wrote in message
...

Hi,

I'm trying to add to an if statement, saying that if a cell is equal to
a certain value, then to ignore it. I'm new to visual basic and I just
dont know how to declare that value. I have in bold what I have tried
to do.

If ActiveCell.Characters.Count 13 Or Not only_text(ActiveCell) *Or
ActiveCell.Value("RM UCONN SFA") * Then

Thanks for the help,

-Steve


--
thephoenix12
------------------------------------------------------------------------
thephoenix12's Profile:

http://www.excelforum.com/member.php...o&userid=24336
View this thread: http://www.excelforum.com/showthread...hreadid=382772



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default declaring a certain value


If ActiveCell.Characters.Count 13 Or Not only_text(ActiveCell) O
ActiveCell.Value="RM UCONN SFA" The

--
anilsolipura
-----------------------------------------------------------------------
anilsolipuram's Profile: http://www.excelforum.com/member.php...fo&userid=1627
View this thread: http://www.excelforum.com/showthread.php?threadid=38277

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
Declaring a value to equal 100% Mark Charts and Charting in Excel 2 January 21st 05 02:18 PM
Declaring a DLL Erich Neuwirth Excel Programming 1 May 10th 04 06:27 PM
Declaring Variables Robert[_16_] Excel Programming 2 November 20th 03 04:16 PM
DEclaring variables Pedro Excel Programming 1 November 13th 03 05:02 PM
Declaring variables Pedro Excel Programming 1 November 13th 03 03:32 PM


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