none
Macro to highlight cell in a table with condition RRS feed

  • Question

  • Hello All,

    I am checking for a macro to highlight and give a message alert in the below cases.

    Macro for Case 1:

    • When tables in word document consists with only one single row and the row starts only with alphabet characters with minimum 4 letters. (not numerical value or bullet or hyphens)
    • The table can beignored if it starts with either bullet, hyphen or any numerical values

    Row hihlighted in the sample documnet for your reference

    Macro for Case 2

    • Cells in a table with hanging format between 0.30" to 0.40" and starts only with alphabet characters with minimum of 4 letters (not numerical value or bullet or hyphens)
    • The table can beignored if it starts with either bullet, hyphen or any numerical values

    Row hihlighted in the sample documnet for your reference


    I have attached the word file with Case 1 & 2 in the below link

    https://spaces.hightail.com/space/QTJuPjTDWl/files/fi-de098fe8-bde8-4ce1-bbd3-693501344f2d/fv-b24b32e0-830a-4cdd-8c5c-8ccf45ee8234/Highlight%20cells%20in%20table.doc

    Any help would be highly appreciated

    Regards

    John

    Saturday, December 14, 2019 6:44 PM

All replies

  • A macro to highlight the row when a table has only one single row starts with minimum 4 alphapet characters is good enough if above request is not possible

    Regards

    John

    Monday, December 16, 2019 6:57 AM