WEBVTT

1
00:00:01.650 --> 00:00:08.050
Hello, my name is Bob Akbar and in these lessons you will learn how to scramble data,

2
00:00:09.010 --> 00:00:16.450
hide data and encrypt context to secure data. In this lesson I will show you how to scramble data.

3
00:00:17.970 --> 00:00:23.330
Now the scramble function is not a built-in function however you can find it

4
00:00:23.330 --> 00:00:35.250
and you actually insert it as a function into the visual basic for applications also known as VBA.

5
00:00:37.090 --> 00:00:43.300
So we have defined the function here and you have to have your macros enabled

6
00:00:44.020 --> 00:00:49.860
for this to work if your macros are disabled the function will not work because this is considered

7
00:00:49.860 --> 00:00:59.740
a macro by Excel. So once we've defined and we put the input in basically it's going to be equal

8
00:00:59.740 --> 00:01:06.380
scramble it's going to ask for the reference for the cell that is going to go down and it's going

9
00:01:06.380 --> 00:01:13.900
to randomly move the letters around until it has the same number of letters then it is going to return

10
00:01:13.900 --> 00:01:22.060
the value out of the function and once you have that added as a function you will use it as this way.

11
00:01:27.060 --> 00:01:36.930
You notice how it comes up just like any other function and we'll put in the player's name, press enter

12
00:01:38.930 --> 00:01:47.570
and there it is. All of the names are now scrambled so we can now use these in a public way

13
00:01:48.370 --> 00:01:53.730
where they are displayed without violating any of the data privacy laws.

14
00:01:54.850 --> 00:02:04.130
So scrambling the data to review it is not a built-in function however you can go

15
00:02:04.930 --> 00:02:14.160
to your visual basic for applications you can right click add a module type it in as follows

16
00:02:15.120 --> 00:02:29.760
save it enable macros and then you can use it thanks for watching stay tuned for the next lesson

17
00:02:29.760 --> 00:02:39.760
where I will show you how to hide your data.

