+ Reply to Thread
Results 1 to 4 of 4

Compile Error: Block If without End If

  1. #1
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Compile Error: Block If without End If

    Dear Experts,

    I am having compiled error: Block If Without End If for the below script:

    Please Login or Register  to view this content.
    Request to you please do help me out. Thank you for your valuable support.

    Regards,

    Neilesh

  2. #2
    Forum Contributor frabulator's Avatar
    Join Date
    09-16-2015
    Location
    United States
    MS-Off Ver
    2019
    Posts
    101

    Re: Compile Error: Block If without End If

    Please Login or Register  to view this content.
    Or, if you wanted the two to be independent if statements, you could reduce your code down to this:

    Please Login or Register  to view this content.
    Last edited by frabulator; 04-12-2021 at 05:07 AM.

  3. #3
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: Compile Error: Block If without End If

    Hi Frabulator, the provided upgraded script overcome with the Compiled error but the Script for which i have used for highlighting the active row and column does not work with this.

    My main motto is to use this script for not allowing other users to change the Tab Name and to use for highlighting the active row and column.

    Request to you please help me on the same.

    Regards,

    Neilesh
    Last edited by Neilesh Kumar; 04-12-2021 at 05:21 AM.

  4. #4
    Forum Contributor frabulator's Avatar
    Join Date
    09-16-2015
    Location
    United States
    MS-Off Ver
    2019
    Posts
    101

    Re: Compile Error: Block If without End If

    Post it and let see what you got. If I cant help, someone else can.

+ 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. [SOLVED] Need help with 'Compile Error: Block If without End If'
    By Kyhosa in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-06-2021, 06:30 PM
  2. End IF without block IF compile error
    By jdcortez in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-11-2018, 04:20 AM
  3. [SOLVED] Compile error - Block if without End if
    By BryceVBA in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-06-2017, 10:40 AM
  4. Excel 2007 : Compile Error: Block if without end if
    By F1lm1 in forum Excel General
    Replies: 2
    Last Post: 08-09-2011, 01:02 PM
  5. Compile Error: End If Without block If
    By mayberce in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-26-2009, 03:32 PM
  6. [SOLVED] Compile Error: Block If without End if
    By [email protected] in forum Excel General
    Replies: 5
    Last Post: 03-03-2006, 02:35 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