LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default checking value of named range

o.k.

I kind of get it... (I immediately get lost in R1C1 world) but...
I'm not sure,

am I editing the code where is the value to true
or,
editing the code where I check if the value is true?

and, in either case (excuse my dumbness), could you spell out what the exact
code ought to be

-mark

-------------------------------------------------------------------------------------------------


"bobbo" wrote in message
oups.com...
After "RefesToR1C1:= " you need something that refers to a range in
R1C1 format.
Then to set it to true
Activeworkbok.Names("ReformatingCompleted").Refers ToRange.Value =
"True"

mark kubicki wrote:
even though the value for [ReformatingCompleted] seems to have been set
to
"True", I'm not able to test for it correctly;
could someone proof this short code for me? (it's prob an obvious
mistake...
u know how that goes...)

--------------------
ActiveWorkbook.ActiveSheet.Names.Add Name:="ReformatingCompleted",
RefersToR1C1:="=""True"""


If ActiveWorkbook.ActiveSheet.Names("ReformatingCompl eted").Value =
"True"
Then
Exit Sub
End If
--------------------


thanks in advance,
mark




 
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
Checking a cell against a named range Memento Excel Worksheet Functions 8 April 7th 07 01:46 PM
Checking for non-blank cells in named range Barb Reinhardt Excel Programming 2 October 13th 06 06:34 PM
Checking for non blank cells in named range Barb Reinhardt Excel Programming 1 October 13th 06 03:32 PM
Checking range of cells for entry then checking for total Barb Reinhardt Excel Programming 1 October 13th 06 02:47 PM
Checking for non-blank cells in named range Barb Reinhardt Excel Programming 0 October 13th 06 02:42 PM


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