LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 550
Default Using LEFT in a Conditional Format

Figured it out myself.
Used "Left" instead of "Vba.Left"

Thanks

"John Wilson" wrote in message
...
Does anyone know the correct coding to get this to work??

Column J has data beginning at row 6 in the format of 6 numbers;
Ex: 110001, 100001, 011000, etc.

As an example, this works:
r.Columns("A:A").FormatConditions.Add Type:=xlExpression, _
Formula1:="=$J6=""110001"""

What I'm trying to do (without any luck) is:

r.Columns("A:A").FormatConditions.Add Type:=xlExpression, _
Formula1:="=Vba.Left($J6,1)=""1"""

The above obviously doesn't work.

Any help would be appreciated.

Thanks,
John



 
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
New Conditional Format Overriding Previous Conditional Format Rene Excel Discussion (Misc queries) 3 February 27th 08 06:08 PM
Using Left/Mid functions to format download Shams Excel Worksheet Functions 2 November 2nd 07 06:27 PM
conditional sum with a left function in it nkurucz Excel Discussion (Misc queries) 1 March 21st 07 09:00 PM
=LEFT - Cannot Format Mirish26 Excel Worksheet Functions 3 August 1st 06 03:38 AM
Using LEFT, can excel produce the first 0's in a custom format? kanye Excel Discussion (Misc queries) 4 April 29th 05 02:58 PM


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