Custom Enumerations: Practical Example - Employment Type

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ม.ค. 2025

ความคิดเห็น • 8

  • @mikajoukanen
    @mikajoukanen 10 หลายเดือนก่อน

    Great video and very easy to follow and understand. Thank you!

  • @RungeCarl
    @RungeCarl ปีที่แล้ว

    Brilliant! Please do more videos on classes

  • @Nell8908
    @Nell8908 2 ปีที่แล้ว +1

    Great video!, I use enums a lot to avoid magic numbers for column references etc but my favorite use is for storing application colors (RGB just evaluates to a long anyways). Makes changing them throughout the app very easy.

  • @Mike_Luo
    @Mike_Luo 2 ปีที่แล้ว

    Thanks, using select case to execute different process inspired me a lot. And Enumerations do help ceasing mistakes causing by typo.

  • @danp6101
    @danp6101 ปีที่แล้ว

    HI Jen. How Can you assign a String Value to enumerations.
    I.E.
    Public Enum eNumName
    eFirstname = "Jen"
    eLastname = "Garth"
    end enum

  • @Mayhem6633
    @Mayhem6633 2 ปีที่แล้ว

    Thanks. I have a use for this right now. After watching your 2 videos on Enums, I was only left wondering 1 point. Since the enum values are longs, can I just use the long. For example could I write eEmployeeType=0 rather than eEmployeeType=e_FullTime. I assume yes but for ease of use purposes that might be easy as well. Anyway, thanks for the help.

  • @Info-God
    @Info-God 2 ปีที่แล้ว

    You might want to add to your channel's name something like: VBA Excel, to be easily found. Have no idea if it helps but you never know.