Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 190
Default conditional formatting

hi,

i have the following:

dim z as integer
for z = 8 to 100

Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=ROUND(D " & z & ",3)=$B$5"

next z

for some reason i am getting a runtime error 5 error message: invalid
procedure call or argument. im not sure why.

thanks in advance,
geebee

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 533
Default conditional formatting

Is that a space after the "D"?

--
Jim
"geebee" (noSPAMs) wrote in message
...
| hi,
|
| i have the following:
|
| dim z as integer
| for z = 8 to 100
|
| Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
| "=ROUND(D " & z & ",3)=$B$5"
|
| next z
|
| for some reason i am getting a runtime error 5 error message: invalid
| procedure call or argument. im not sure why.
|
| thanks in advance,
| geebee
|


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
Conditional formatting--different formatting depending on cell con Tammy S. Excel Discussion (Misc queries) 3 March 30th 09 08:11 PM
Formatting Conditional Formatting Icon Sets The Rook[_2_] Excel Discussion (Misc queries) 3 March 7th 09 08:48 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


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