Advertisement
daniel_lev_ari

Book Categories VBA Arrary

Jan 18th, 2024 (edited)
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VisualBasic 2.77 KB | Source Code | 0 0
  1. Sub InitializeBookCategories()
  2.     Dim BookCategories(64) As String
  3.    
  4.     BookCategories(0) = "Acting"
  5.     BookCategories(1) = "Advertising"
  6.     BookCategories(2) = "Biography"
  7.     BookCategories(3) = "Biology"
  8.     BookCategories(4) = "Branding"
  9.     BookCategories(5) = "Business"
  10.     BookCategories(6) = "Career"
  11.     BookCategories(7) = "Communication and social skills"
  12.     BookCategories(8) = "Consumer behavior"
  13.     BookCategories(9) = "Copywriting"
  14.     BookCategories(10) = "Corporate Culture"
  15.     BookCategories(11) = "Creativity"
  16.     BookCategories(12) = "Customer Service"
  17.     BookCategories(13) = "Dating"
  18.     BookCategories(14) = "Decision Making"
  19.     BookCategories(15) = "Design"
  20.     BookCategories(16) = "Ecommerce"
  21.     BookCategories(17) = "Economics"
  22.     BookCategories(18) = "Entrepreneurship"
  23.     BookCategories(19) = "Fitness"
  24.     BookCategories(20) = "Future and Prediction"
  25.     BookCategories(21) = "Habits"
  26.     BookCategories(22) = "Happiness"
  27.     BookCategories(23) = "Health"
  28.     BookCategories(24) = "History"
  29.     BookCategories(25) = "Innovation"
  30.     BookCategories(26) = "Intimacy"
  31.     BookCategories(27) = "Investing"
  32.     BookCategories(28) = "Leadership"
  33.     BookCategories(29) = "Learning"
  34.     BookCategories(30) = "Management"
  35.     BookCategories(31) = "Marketing"
  36.     BookCategories(32) = "Memory improvement"
  37.     BookCategories(33) = "Mindfulness"
  38.     BookCategories(34) = "Minimalism"
  39.     BookCategories(35) = "Money"
  40.     BookCategories(36) = "Motivation"
  41.     BookCategories(37) = "Negotiation"
  42.     BookCategories(38) = "Nutrition"
  43.     BookCategories(39) = "Parenting & Family"
  44.     BookCategories(40) = "Peak Performance"
  45.     BookCategories(41) = "Personal Growth"
  46.     BookCategories(42) = "Philosophy"
  47.     BookCategories(43) = "Politics"
  48.     BookCategories(44) = "Presentation and public speaking"
  49.     BookCategories(45) = "Productivity"
  50.     BookCategories(46) = "Psychology"
  51.     BookCategories(47) = "Public relations"
  52.     BookCategories(48) = "Publishing"
  53.     BookCategories(49) = "Reading skills"
  54.     BookCategories(50) = "Real estate"
  55.     BookCategories(51) = "Relationships"
  56.     BookCategories(52) = "Religion"
  57.     BookCategories(53) = "Sales"
  58.     BookCategories(54) = "Science"
  59.     BookCategories(55) = "Screenwriting"
  60.     BookCategories(56) = "Sleep"
  61.     BookCategories(57) = "Society"
  62.     BookCategories(58) = "Spirituality"
  63.     BookCategories(59) = "Startups"
  64.     BookCategories(60) = "Storytelling"
  65.     BookCategories(61) = "Strategy"
  66.     BookCategories(62) = "Success"
  67.     BookCategories(63) = "UI/UX"
  68.     BookCategories(64) = "Writing"
  69.  
  70.     ' Example of how to use the array
  71.    Dim i As Integer
  72.     For i = LBound(BookCategories) To UBound(BookCategories)
  73.         Debug.Print BookCategories(i)
  74.     Next i
  75. End Sub
  76.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement