+ Reply to Thread
Results 1 to 5 of 5

Macro wont accept conditional format formula with a "." in it

  1. #1
    Registered User
    Join Date
    04-28-2015
    Location
    Sydney, Australia
    MS-Off Ver
    Office 365
    Posts
    61

    Macro wont accept conditional format formula with a "." in it

    Ive written a mcro to apply a formula for a conditional format to a range ,



    but it always comes up with expected end of statement and highlights the fullstop in SUBSTITUTE(B8,"."

    Please Login or Register  to view this content.
    Last edited by qwertyyy; 03-21-2023 at 09:34 PM.

  2. #2
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,550

    Re: Macro wont accept conditional format formula with a "." in it

    Please Login or Register  to view this content.
    Artik

  3. #3
    Registered User
    Join Date
    04-28-2015
    Location
    Sydney, Australia
    MS-Off Ver
    Office 365
    Posts
    61

    Re: Macro wont accept conditional format formula with a "." in it

    That worked great thanks all i need to do now is to change the macro result from formatting the cell light blue to a number format only to offset it one space " @"

    Please Login or Register  to view this content.
    Last edited by qwertyyy; 03-21-2023 at 09:34 PM.

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    Win10/MSO2016
    Posts
    13,019

    Re: Macro wont accept conditional format formula with a "." in it

    Maybe something 'like':
    Please Login or Register  to view this content.
    Ben Van Johnson

  5. #5
    Registered User
    Join Date
    04-28-2015
    Location
    Sydney, Australia
    MS-Off Ver
    Office 365
    Posts
    61

    Re: Macro wont accept conditional format formula with a "." in it

    That didnt seem to work , i now have acoule of formulas to add to the conditional formatting , im just coloruing cells at the moment to test it out. Just need to know how to just change from a colour format , to a number format " @" they all have different offsets. Does the way this is written make it harder to change from a colour format to a custom Number format ?

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 02-23-2021, 10:52 AM
  2. Replies: 4
    Last Post: 04-04-2020, 12:00 PM
  3. Replies: 4
    Last Post: 03-02-2020, 02:08 AM
  4. [SOLVED] formula help: conditional format of one column based on "YES"/"NO" content of four others!
    By 10 Dollar Bill in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-20-2014, 01:59 PM
  5. Macro "fill down" function is changing the format in conditional formatting
    By kosherboy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-10-2014, 04:25 PM
  6. Replies: 2
    Last Post: 01-10-2013, 06:13 PM
  7. Format cells wont let me "0.00 g"
    By Bruno in forum Excel General
    Replies: 2
    Last Post: 07-31-2006, 04:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1