+ Reply to Thread
Results 1 to 4 of 4

Cumulative End If ?

  1. #1
    Registered User
    Join Date
    04-09-2012
    Location
    Italy
    MS-Off Ver
    2021 Pro
    Posts
    52

    Cumulative End If ?

    Hi all ! Please is it correct, if i place if then else on the same row as indicated...
    and please is there a way to make the list of end if more compact or on the same raw ?
    just for fun !! tx ! Paolo

    Please Login or Register  to view this content.
    Last edited by ZuluNation; 05-17-2012 at 05:19 AM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Cumulative End If ?

    I haven't tested your code, I believe you don't need all the else and end if's because you are using if and then on the same line.

    When you are in Advanced reply, click on the paperclip to open the upload window.

    View Pic

  3. #3
    Registered User
    Join Date
    04-09-2012
    Location
    São Paulo, Brazil
    MS-Off Ver
    Excel 2007
    Posts
    78

    Re: Cumulative End If ?

    ZuluNation,

    You can use de "ElseIf" for less End If, try this:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-09-2012
    Location
    Italy
    MS-Off Ver
    2021 Pro
    Posts
    52

    Re: Cumulative End If ?

    Thank you , that works!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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