Hi, everyone. Could you please help me fix the error in this VBA Code? I'm trying to make a PowerPoint Presentation as quick as possible, so I asked AI to make me a VBA Code for PPT. Unfortunately, the code doesn't work. Thank you very much in advance. Kindly see the code below.
Sub EthicsPresentation()'Declare variablesDim pp As PowerPoint.PresentationDim sl As PowerPoint.SlideDim shp As PowerPoint.ShapeDim txtRange As PowerPoint.TextRange'Create a new presentationSet pp = ActivePresentation'Slide 1: Title SlideSet sl = pp.Slides.Add(1, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Basic and Key Concepts in Ethics"End With'Slide 2: What is Ethics?Set sl = pp.Slides.Add(2, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "What is Ethics?"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "Ethics is derived from the Greek word 'ethos,' which means a characteristic way of acting, principles, or standards of human conduct. It's also called moral philosophy, involving systematizing, defending, and recommending concepts of right and wrong behavior." & vbCrLf & _ "Ethics is a science in terms of systematized knowledge, but it's a practical science, meaning it's applied in daily living." & vbCrLf & _ "It is a subject matter with content, a discipline with a body of knowledge, and a process of decision-making." & vbCrLf & _ "Ethics refers to well-based standards of right and wrong that prescribe what humans ought to do in terms of rights, obligations, benefits to society, fairness, or specific virtues." & vbCrLf & _ "It also refers to the study and development of one's ethical standards, constantly examining one's beliefs and striving to ensure that they are reasonable and well-founded." & vbCrLf & _ "Ultimately, ethics involves the study and application of 'right' conduct, asking the question: 'What ought I to do?'"End With'Slide 3: Key ConceptsSet sl = pp.Slides.Add(3, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Key Concepts in Ethics"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "Ethics/Ethical vs. Morality/Morals: Ethics is the study of morality, focusing on the principles and theories behind right and wrong behavior." & vbCrLf & _ "Human Acts vs. Acts of Man: 'Human acts' are performed knowingly and willingly, while 'acts of man' are involuntary or unintentional. 'Human acts' are under the control of the will, while 'acts of man' are not." & vbCrLf & _ "Importance of Ethics: Ethics provides a framework for moral decision-making, helps us deepen our reflection on life, reminds us of our responsibilities to ourselves and others, and encourages us to examine our life and honestly evaluate how we are responding to the challenges of our time." & vbCrLf & _ "Ethics helps us realize our value priorities in life, become better individuals, and helps us understand and become what we ought to be in the world."End With'Slide 4: Ethical TheoriesSet sl = pp.Slides.Add(4, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Ethical Theories"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "Consequentialism: Focuses on the consequences of actions, arguing that the best action is the one that produces the greatest good. It includes utilitarianism, which aims to maximize happiness or well-being." & vbCrLf & _ "Deontology: Emphasizes moral rules and duties, arguing that actions are right or wrong based on whether they conform to these rules. It emphasizes the importance of acting out of a sense of duty and following moral principles." & vbCrLf & _ "Virtue Ethics: Focuses on developing good character traits, arguing that moral behavior stems from virtuous character. It emphasizes the importance of developing virtues such as honesty, compassion, and loyalty."End With'Slide 5: Ethical PrinciplesSet sl = pp.Slides.Add(5, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Ethical Principles"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "Beneficence: Acting in the best interests of others. This principle encourages us to do good and help others whenever possible." & vbCrLf & _ "Non-maleficence: Avoiding harm to others. This principle cautions us to avoid actions that could cause harm to ourselves or others." & vbCrLf & _ "Autonomy: Respecting the right of individuals to make their own decisions. This principle emphasizes individual freedom and self-determination." & vbCrLf & _ "Justice: Treating people fairly and equitably. This principle encourages us to be impartial and ensure that everyone is treated fairly." & vbCrLf & _ "Veracity: Being truthful and honest. This principle emphasizes the importance of truthfulness and integrity in our interactions with others."End With'Slide 6: Ethical Decision-MakingSet sl = pp.Slides.Add(6, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Ethical Decision-Making"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "1. Identify the ethical issue: Determine what the moral question is. This involves clarifying the situation and understanding the values and principles at stake." & vbCrLf & _ "2. Gather information: Collect relevant facts and perspectives. This involves seeking out information from various sources to gain a comprehensive understanding of the situation." & vbCrLf & _ "3. Consider ethical principles: Apply relevant ethical principles to the situation. This involves weighing the different principles and their implications in the context of the situation." & vbCrLf & _ "4. Explore alternatives: Consider different possible actions. This involves brainstorming potential solutions and identifying the potential consequences of each action." & vbCrLf & _ "5. Make a decision: Choose the course of action that is most ethically justifiable. This involves carefully considering the potential consequences of each action and choosing the option that best aligns with your ethical principles." & vbCrLf & _ "6. Reflect on the decision: Evaluate the outcome and learn from the experience. This involves reflecting on the consequences of your decision and learning from the experience to improve your ethical decision-making in the future."End With'Slide 7: Moral DilemmasSet sl = pp.Slides.Add(7, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Moral Dilemmas"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "A moral dilemma is a situation where a person must choose between two or more conflicting moral values. There is no easy or clear-cut answer to a moral question. When we cannot make a distinction between what is a good act from an evil act, we encounter a moral dilemma." & vbCrLf & _ "A non-moral dilemma involves a choice that does not have significant moral implications. It's a situation where the options are not morally right or wrong, but rather a matter of preference or practicality."End With'Slide 8: Distinction of ActionSet sl = pp.Slides.Add(8, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Distinction of Action"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "'Human acts' are performed knowingly and willingly, while 'acts of man' are involuntary or unintentional." & vbCrLf & _ "Human acts are under the control of the will, while 'acts of man' are not." & vbCrLf & _ "Voluntariness is a key element in determining the morality of an action." & vbCrLf & _ "There are four types of voluntariness:" & vbCrLf & _ " * Perfect Voluntariness: The person is fully aware and fully intends the act." & vbCrLf & _ " * Imperfect Voluntariness: The person acts without full awareness or intent." & vbCrLf & _ " * Conditional Voluntariness: The person is forced by circumstances to perform an action they would not otherwise do." & vbCrLf & _ " * Simple Voluntariness: The person acts willfully, regardless of whether they like to do it or not."End With'Slide 9: Importance of EthicsSet sl = pp.Slides.Add(9, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Importance of Ethics"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "Ethics is important because it:" & vbCrLf & _ " * Guides us towards our goals, rather than just allowing our lives to be controlled by self-serving motives, accidental occurrences, customs, feelings, or our impulses." & vbCrLf & _ " * Helps us deepen our reflection on the ultimate questions of life and help us think better about the concerns of morality." & vbCrLf & _ " * Offers us a wider perspective on how to live our life to the fullest, taking into consideration that we do not have the luxury of eternal time in this world." & vbCrLf & _ " * Reminds us of our duties, responsibilities, and accountabilities to ourselves, to our fellowmen, to our society, to our nation, and to the world in general." & vbCrLf & _ " * Encourages us to examine our life and honestly evaluate how we are responding to the challenges and demands of this contemporary time." & vbCrLf & _ " * Increases our capacity to perceive and be sensitive to relevant moral issues that deserve consideration in making our choices that will have significant impact on ourselves and on others." & vbCrLf & _ " * Polishes, strengthens, and brings out to the fore our value priorities in life which will make us better and happy individuals." & vbCrLf & _ " * Helps us realize and become what we ought to be in this challenging, yet beautiful, world."End With'Slide 10: Recognizing Terms in EthicsSet sl = pp.Slides.Add(10, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Recognizing Terms in Ethics"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "Moral actions: Align with ethical principles and values. They require the goodness of the object chosen, the intention or the end in view, and of the circumstances together." & vbCrLf & _ "Amoral actions: Lack a moral dimension, often due to a lack of knowledge or intent. These are manifested in the absence of knowledge, freedom and voluntariness." & vbCrLf & _ "Immoral actions: Violate ethical principles and values. They are considered to be evil, sinful, or wrong according to the code of ethics."End With'Slide 11: Moral vs. Non-Moral DilemmasSet sl = pp.Slides.Add(11, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Moral vs. Non-Moral Dilemmas"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "A moral dilemma involves a choice between two or more conflicting moral values. There is no easy or clear-cut answer to a moral question. When we cannot make a distinction between what is a good act from an evil act, we encounter a moral dilemma." & vbCrLf & _ "A non-moral dilemma involves a choice that does not have significant moral implications. It's a situation where the options are not morally right or wrong, but rather a matter of preference or practicality."End With'Slide 12: Determinants of MoralitySet sl = pp.Slides.Add(12, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Determinants of Morality"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "The morality of an action is determined by the Object Chosen, the Intention, and the Circumstances." & vbCrLf & _ "The Object Chosen is the action itself. It morally specifies the act of the will, insofar as reason recognizes and judges it good or evil." & vbCrLf & _ "The Intention is the purpose or goal behind the action. It aims at the good anticipated from the action undertaken." & vbCrLf & _ "The Circumstances are the surrounding factors that influence the action. They contribute to increasing or diminishing the moral goodness or evil of human acts." & vbCrLf & _ "It is important to remember that the end does not justify the means. An evil action cannot be justified by reference to a good intention."End With'Slide 13: ImpartialitySet sl = pp.Slides.Add(13, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Impartiality"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "Impartiality means treating everyone fairly and equally, without bias or favoritism. It's essential for making ethical decisions because it helps us to avoid prejudice and make judgments based on objective criteria." & vbCrLf & _ "Impartiality is a fundamental principle of justice and fairness. It ensures that everyone is treated equally and that no one is given preferential treatment."End With'Slide 14: ConclusionSet sl = pp.Slides.Add(14, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Conclusion"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "Ethics is a complex and challenging field, but it is essential for living a meaningful and fulfilling life. By understanding basic ethical concepts and principles, we can make more informed and responsible decisions." & vbCrLf & _ "Ethics is an ongoing process of reflection and learning. We must constantly strive to improve our ethical understanding and to live in accordance with our values."End With'Add a footer to all slidesFor Each sl In pp.Slides Set shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, sl.Height - 30, sl.Width - 20, 20) With shp.TextFrame.TextRange .Text = "Copyright © [
Sub EthicsPresentation()'Declare variablesDim pp As PowerPoint.PresentationDim sl As PowerPoint.SlideDim shp As PowerPoint.ShapeDim txtRange As PowerPoint.TextRange'Create a new presentationSet pp = ActivePresentation'Slide 1: Title SlideSet sl = pp.Slides.Add(1, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Basic and Key Concepts in Ethics"End With'Slide 2: What is Ethics?Set sl = pp.Slides.Add(2, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "What is Ethics?"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "Ethics is derived from the Greek word 'ethos,' which means a characteristic way of acting, principles, or standards of human conduct. It's also called moral philosophy, involving systematizing, defending, and recommending concepts of right and wrong behavior." & vbCrLf & _ "Ethics is a science in terms of systematized knowledge, but it's a practical science, meaning it's applied in daily living." & vbCrLf & _ "It is a subject matter with content, a discipline with a body of knowledge, and a process of decision-making." & vbCrLf & _ "Ethics refers to well-based standards of right and wrong that prescribe what humans ought to do in terms of rights, obligations, benefits to society, fairness, or specific virtues." & vbCrLf & _ "It also refers to the study and development of one's ethical standards, constantly examining one's beliefs and striving to ensure that they are reasonable and well-founded." & vbCrLf & _ "Ultimately, ethics involves the study and application of 'right' conduct, asking the question: 'What ought I to do?'"End With'Slide 3: Key ConceptsSet sl = pp.Slides.Add(3, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Key Concepts in Ethics"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "Ethics/Ethical vs. Morality/Morals: Ethics is the study of morality, focusing on the principles and theories behind right and wrong behavior." & vbCrLf & _ "Human Acts vs. Acts of Man: 'Human acts' are performed knowingly and willingly, while 'acts of man' are involuntary or unintentional. 'Human acts' are under the control of the will, while 'acts of man' are not." & vbCrLf & _ "Importance of Ethics: Ethics provides a framework for moral decision-making, helps us deepen our reflection on life, reminds us of our responsibilities to ourselves and others, and encourages us to examine our life and honestly evaluate how we are responding to the challenges of our time." & vbCrLf & _ "Ethics helps us realize our value priorities in life, become better individuals, and helps us understand and become what we ought to be in the world."End With'Slide 4: Ethical TheoriesSet sl = pp.Slides.Add(4, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Ethical Theories"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "Consequentialism: Focuses on the consequences of actions, arguing that the best action is the one that produces the greatest good. It includes utilitarianism, which aims to maximize happiness or well-being." & vbCrLf & _ "Deontology: Emphasizes moral rules and duties, arguing that actions are right or wrong based on whether they conform to these rules. It emphasizes the importance of acting out of a sense of duty and following moral principles." & vbCrLf & _ "Virtue Ethics: Focuses on developing good character traits, arguing that moral behavior stems from virtuous character. It emphasizes the importance of developing virtues such as honesty, compassion, and loyalty."End With'Slide 5: Ethical PrinciplesSet sl = pp.Slides.Add(5, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Ethical Principles"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "Beneficence: Acting in the best interests of others. This principle encourages us to do good and help others whenever possible." & vbCrLf & _ "Non-maleficence: Avoiding harm to others. This principle cautions us to avoid actions that could cause harm to ourselves or others." & vbCrLf & _ "Autonomy: Respecting the right of individuals to make their own decisions. This principle emphasizes individual freedom and self-determination." & vbCrLf & _ "Justice: Treating people fairly and equitably. This principle encourages us to be impartial and ensure that everyone is treated fairly." & vbCrLf & _ "Veracity: Being truthful and honest. This principle emphasizes the importance of truthfulness and integrity in our interactions with others."End With'Slide 6: Ethical Decision-MakingSet sl = pp.Slides.Add(6, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Ethical Decision-Making"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "1. Identify the ethical issue: Determine what the moral question is. This involves clarifying the situation and understanding the values and principles at stake." & vbCrLf & _ "2. Gather information: Collect relevant facts and perspectives. This involves seeking out information from various sources to gain a comprehensive understanding of the situation." & vbCrLf & _ "3. Consider ethical principles: Apply relevant ethical principles to the situation. This involves weighing the different principles and their implications in the context of the situation." & vbCrLf & _ "4. Explore alternatives: Consider different possible actions. This involves brainstorming potential solutions and identifying the potential consequences of each action." & vbCrLf & _ "5. Make a decision: Choose the course of action that is most ethically justifiable. This involves carefully considering the potential consequences of each action and choosing the option that best aligns with your ethical principles." & vbCrLf & _ "6. Reflect on the decision: Evaluate the outcome and learn from the experience. This involves reflecting on the consequences of your decision and learning from the experience to improve your ethical decision-making in the future."End With'Slide 7: Moral DilemmasSet sl = pp.Slides.Add(7, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Moral Dilemmas"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "A moral dilemma is a situation where a person must choose between two or more conflicting moral values. There is no easy or clear-cut answer to a moral question. When we cannot make a distinction between what is a good act from an evil act, we encounter a moral dilemma." & vbCrLf & _ "A non-moral dilemma involves a choice that does not have significant moral implications. It's a situation where the options are not morally right or wrong, but rather a matter of preference or practicality."End With'Slide 8: Distinction of ActionSet sl = pp.Slides.Add(8, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Distinction of Action"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "'Human acts' are performed knowingly and willingly, while 'acts of man' are involuntary or unintentional." & vbCrLf & _ "Human acts are under the control of the will, while 'acts of man' are not." & vbCrLf & _ "Voluntariness is a key element in determining the morality of an action." & vbCrLf & _ "There are four types of voluntariness:" & vbCrLf & _ " * Perfect Voluntariness: The person is fully aware and fully intends the act." & vbCrLf & _ " * Imperfect Voluntariness: The person acts without full awareness or intent." & vbCrLf & _ " * Conditional Voluntariness: The person is forced by circumstances to perform an action they would not otherwise do." & vbCrLf & _ " * Simple Voluntariness: The person acts willfully, regardless of whether they like to do it or not."End With'Slide 9: Importance of EthicsSet sl = pp.Slides.Add(9, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Importance of Ethics"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "Ethics is important because it:" & vbCrLf & _ " * Guides us towards our goals, rather than just allowing our lives to be controlled by self-serving motives, accidental occurrences, customs, feelings, or our impulses." & vbCrLf & _ " * Helps us deepen our reflection on the ultimate questions of life and help us think better about the concerns of morality." & vbCrLf & _ " * Offers us a wider perspective on how to live our life to the fullest, taking into consideration that we do not have the luxury of eternal time in this world." & vbCrLf & _ " * Reminds us of our duties, responsibilities, and accountabilities to ourselves, to our fellowmen, to our society, to our nation, and to the world in general." & vbCrLf & _ " * Encourages us to examine our life and honestly evaluate how we are responding to the challenges and demands of this contemporary time." & vbCrLf & _ " * Increases our capacity to perceive and be sensitive to relevant moral issues that deserve consideration in making our choices that will have significant impact on ourselves and on others." & vbCrLf & _ " * Polishes, strengthens, and brings out to the fore our value priorities in life which will make us better and happy individuals." & vbCrLf & _ " * Helps us realize and become what we ought to be in this challenging, yet beautiful, world."End With'Slide 10: Recognizing Terms in EthicsSet sl = pp.Slides.Add(10, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Recognizing Terms in Ethics"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "Moral actions: Align with ethical principles and values. They require the goodness of the object chosen, the intention or the end in view, and of the circumstances together." & vbCrLf & _ "Amoral actions: Lack a moral dimension, often due to a lack of knowledge or intent. These are manifested in the absence of knowledge, freedom and voluntariness." & vbCrLf & _ "Immoral actions: Violate ethical principles and values. They are considered to be evil, sinful, or wrong according to the code of ethics."End With'Slide 11: Moral vs. Non-Moral DilemmasSet sl = pp.Slides.Add(11, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Moral vs. Non-Moral Dilemmas"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "A moral dilemma involves a choice between two or more conflicting moral values. There is no easy or clear-cut answer to a moral question. When we cannot make a distinction between what is a good act from an evil act, we encounter a moral dilemma." & vbCrLf & _ "A non-moral dilemma involves a choice that does not have significant moral implications. It's a situation where the options are not morally right or wrong, but rather a matter of preference or practicality."End With'Slide 12: Determinants of MoralitySet sl = pp.Slides.Add(12, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Determinants of Morality"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "The morality of an action is determined by the Object Chosen, the Intention, and the Circumstances." & vbCrLf & _ "The Object Chosen is the action itself. It morally specifies the act of the will, insofar as reason recognizes and judges it good or evil." & vbCrLf & _ "The Intention is the purpose or goal behind the action. It aims at the good anticipated from the action undertaken." & vbCrLf & _ "The Circumstances are the surrounding factors that influence the action. They contribute to increasing or diminishing the moral goodness or evil of human acts." & vbCrLf & _ "It is important to remember that the end does not justify the means. An evil action cannot be justified by reference to a good intention."End With'Slide 13: ImpartialitySet sl = pp.Slides.Add(13, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Impartiality"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "Impartiality means treating everyone fairly and equally, without bias or favoritism. It's essential for making ethical decisions because it helps us to avoid prejudice and make judgments based on objective criteria." & vbCrLf & _ "Impartiality is a fundamental principle of justice and fairness. It ensures that everyone is treated equally and that no one is given preferential treatment."End With'Slide 14: ConclusionSet sl = pp.Slides.Add(14, pp.Slides(1).Layout)With sl.Shapes.Title .TextFrame.TextRange.Text = "Conclusion"End WithSet shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, 50, sl.Width - 20, sl.Height - 100) ' Adjust position as neededSet txtRange = shp.TextFrame.TextRangeWith txtRange .Text = "Ethics is a complex and challenging field, but it is essential for living a meaningful and fulfilling life. By understanding basic ethical concepts and principles, we can make more informed and responsible decisions." & vbCrLf & _ "Ethics is an ongoing process of reflection and learning. We must constantly strive to improve our ethical understanding and to live in accordance with our values."End With'Add a footer to all slidesFor Each sl In pp.Slides Set shp = sl.Shapes.AddTextbox(msoTextOrientationHorizontal, 10, sl.Height - 30, sl.Width - 20, 20) With shp.TextFrame.TextRange .Text = "Copyright © [
