From the course: Excel: Learning VBA
Unlock the full course today
Join today to access over 24,200 courses taught by industry experts.
Concatenate text strings - Microsoft Excel Tutorial
From the course: Excel: Learning VBA
Concatenate text strings
- [Instructor] You can improve your customer's experience by incorporating their input into your responses. In this movie, I will show you how to combine, or concatenate text strings to do just that. My sample file is 05_05_Concatenate, and you can find it in the chapter five folder of the exercise files collection. In this workbook, I have a single worksheet. And on it, I have a cell, C5 that is shaded and has a number in it. And below, it asks the user to type in the number of cases they would like to buy. So the idea is that this might be displayed on a kiosk or on a touchscreen computer that is available in your store and the customers want to get information about bulk orders. So let's take a look at the VBA code that works with this particular form. So I'll press Alt F11. And in module one, I have a subroutine called VolumeDiscount. At the top, I declare a number of variables. I won't go through them all because there…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
Write a value to a cell4m 29s
-
(Locked)
Cut, copy, and paste cell data6m 51s
-
(Locked)
Find values in cells5m 7s
-
(Locked)
Refer to cells using the OFFSET property5m 1s
-
(Locked)
Concatenate text strings4m 4s
-
(Locked)
Return part of a string6m 15s
-
(Locked)
Manage worksheets with VBA8m 30s
-
(Locked)
Manage workbooks with VBA6m 41s
-
(Locked)
Challenge: Manage workbook elements and data in VBA2m 53s
-
(Locked)
Solution: Manage workbook elements and data in VBA3m 8s
-
(Locked)
-
-
-