T0 Lampiran Institutional Repository | Satya Wacana Christian University: Aplikasi Penginputan dan Pengecekan Masa Berlaku Sertifikat Perizinan Dengan Macro Excel di PT. Coca Cola Amatil Indonesia Central Java

35

LAMPIRAN

36

Lampiran 1 : Struktur Organisasi Perusahaan

37

Lampiran 2 : Struktur Organisasi Manufacturing

38

Lampiran 3 : Coding List
Form 1
Private Sub Calendar1_AfterUpdate()
TextBox4.Text = Calendar1.Value
End Sub
Private Sub Calendar1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
TextBox4.Text = Calendar1.Value 'tanggalkalibrasi

TextBox5.Text = DateAdd("yyyy", CInt(TextBox6.Text), Calendar1.Value)
berapa bulan setelah tgal kalibrasi
End Sub
Private Sub CommandButton1_Click()
Dim selKiri
Dim selKanan
'memasukan data per sheet dan memilih sheet
Dim namasheet
namasheet = Me.ComboBox1.Value
Sheets(namasheet).Select
'input data
Range("a10000").Select
ActiveCell.End(xlUp).Offset(1, 0).Select
ActiveCell.Value = "=ROW()-1"
selKiri = ActiveCell.AddressLocal
ActiveCell.Value = " " & ActiveCell.Value
ActiveCell.Offset(0, 1).Value = TextBox1.Text
ActiveCell.Offset(0, 2).Value = ComboBox1.Text
ActiveCell.Offset(0, 3).Value = TextBox2.Text
ActiveCell.Offset(0, 4).Value = TextBox3.Text

ActiveCell.Offset(0, 5).Value = TextBox6.Text
ActiveCell.Offset(0, 6).Value = TextBox4.Text
ActiveCell.Offset(0, 7).Value = TextBox5.Text
Dim pcell
pcell = ActiveCell.Row
ActiveCell.Offset(0, 8).FormulaArray = "=h" & pcell & "-now()"
ActiveCell.Offset(0, 8).Select
'membuat border
selKanan = ActiveCell.AddressLocal
Range(selKiri & ":" & selKanan).Select
Selection.Borders(xlDiagonalDown).LineStyle = xlNone
Selection.Borders(xlDiagonalUp).LineStyle = xlNone
With Selection.Borders(xlEdgeLeft)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
With Selection.Borders(xlEdgeTop)
.LineStyle = xlContinuous

.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
With Selection.Borders(xlEdgeBottom)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With

'menghitung

39

With Selection.Borders(xlEdgeRight)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin

End With
With Selection.Borders(xlInsideVertical)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
With Selection.Borders(xlInsideHorizontal)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
CommandButton2_Click ' Membersihkan textbox setelah diinput.
End Sub
Private Sub CommandButton2_Click()
TextBox1.Text = ""
ComboBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""

TextBox4.Text = ""
TextBox5.Text = ""
TextBox6.Text = ""
End Sub
Private Sub CommandButton3_Click()
Unload Me
End Sub
Private Sub UserForm_Initialize()
ComboBox1.List = Range("jenisDokumen").Value
End Sub

40

Form 2
Private Sub CommandButton1_Click()
'Sheets.Add after:=ActiveSheet
'aktivesheet.Name = TextBox1.Value
Dim kodedok
Dim jenisdok
Dim akhir

Dim rangeku As Range
Dim dokumenku As Workbook
kodedok = TextBox1.Value
jenisdok = TextBox2.Value
Sheets("Jenis Dokumen").Select
'Range("a10000").Select
Range("a1").Select
ActiveCell.End(xlDown).Select
ActiveCell.Offset(1, 0).Select
'ActiveCell.Value = " " & ActiveCell.Value
ActiveCell.Value = kodedok
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = jenisdok
akhir = ActiveCell.AddressLocal
ActiveWorkbook.Names.Add
akhir

Name:="jenisDokumen",

RefersTo:="='Jenis


Dokumen'!$a$2:"

&

ActiveWorkbook.Sheets.Add(after:=ActiveWorkbook.Sheets(ActiveWorkbook.Sheets.Count)).N
ame = kodedok
Call JDL ' memanggil judul otomatis
End Sub
Private Sub CommandButton2_Click()
TextBox1.Text = ""
TextBox2.Text = ""
End Sub
Private Sub CommandButton3_Click()
Unload Me
End Sub

41

Form 3

Private Sub Calendar1_AfterUpdate()
TextBox5.Text = Calendar1.Value
End Sub
Private Sub Calendar1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
TextBox5.Text = Calendar1.Value 'tanggal dikeluarkan
TextBox6.Text = DateAdd("yyyy", CInt(TextBox4.Text), Calendar1.Value)
berapa tahun setelah tgal dikeluarkan

'menghitung

End Sub
Private Sub CommandButton1_Click()
Dim
Dim
Dim
Dim
Dim
Dim
Dim
Dim

Dim

namaDok
noDok
noDokBaru
lembaga
term
tglBaru
masa
masaBaru
selKanan, selKiri

'memasukan data per sheet dan memilih sheet
Dim namasheet
namasheet = Me.ComboBox1.Value
Sheets(namasheet).Select
noDok = TextBox1.Text
namaDok = TextBox2.Text
lembaga = TextBox3.Text
masa = TextBox8.Text

noDokBaru = TextBox7.Text
term = TextBox4.Text
tglBaru = TextBox5.Text
masaBaru = TextBox6.Text
Columns("E:E").Select ' mencari no dokumen
Cells.Find(what:=noDok,
after:=ActiveCell,
LookIn:=xlValues,
searchorder:=xlByColumns,
searchdirection:=xlNext,
searchformat:=False).Activate
ActiveCell.Offset(0, -3).Select 'kolom B
namaDok = ActiveCell.Value
TextBox2.Text = namaDok
ActiveCell.Offset(0, 2).Select ' kolom D
lembaga = ActiveCell.Value
TextBox3.Text = lembaga
ActiveCell.Offset(0, 3).Select ' kolom H
masa = ActiveCell.Value
TextBox8.Text = masa

End Sub
Private Sub CommandButton2_Click()
'menginputkan data
ActiveCell.Offset(0, (ActiveCell.Column - 1) * -1).Select
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = TextBox2.Text ' nama dok
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = ComboBox1.Text ' jenis dok
ActiveCell.Offset(0, 1).Select

lookat:=xlPart,
MatchCase:=False,

42

ActiveCell.Value = TextBox3.Text ' lembaga
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = TextBox7.Text ' no
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = TextBox4.Text ' term
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = TextBox5.Text ' tgl diperbarui
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = TextBox6.Text ' masa
ActiveCell.Offset(0, 2).Value = ComboBox2.Text ' status
ActiveCell.Offset(0, 1).Select
selKanan = ActiveCell.AddressLocal
ActiveCell.Offset(0, (ActiveCell.Column - 1) * -1).Select
selKiri = ActiveCell.AddressLocal
CommandButton3_Click
Range(selKiri & ":" & selKanan).Select
With Selection.Interior
.Pattern = xlNone
.TintAndShade = 0
.PatternTintAndShade = 0
End With
End Sub
Private Sub CommandButton3_Click()
TextBox1.Text = ""
TextBox2.Text = ""
ComboBox1.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
TextBox6.Text = ""
TextBox7.Text = ""
TextBox8.Text = ""
ComboBox2.Text = ""
End Sub
Private Sub CommandButton4_Click()
Unload Me
End Sub
Private Sub UserForm_Initialize()
ComboBox1.List = Range("jenisDokumen").Value
With ComboBox2
ComboBox2.AddItem "expired-renew"
ComboBox2.AddItem "expired-unrenew"
ComboBox2.AddItem "unknown"
End With
End Sub

43

Form 4
Private Sub Calendar1_AfterUpdate()
TextBox5.Text = Calendar1.Value
End Sub
Private Sub Calendar1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
TextBox5.Text = Calendar1.Value 'tanggal dikeluarkan
TextBox6.Text = DateAdd("yyyy", CInt(TextBox4.Text), Calendar1.Value)
berapa tahun setelah tgal dikeluarkan

'menghitung

End Sub
Private Sub CommandButton1_Click()
Dim namaDok
Dim noDok
Dim lembaga
Dim term
Dim tglKeluar
Dim masa
'memasukan data per sheet dan memilih sheet
Dim namasheet
namasheet = Me.ComboBox1.Value
Sheets(namasheet).Select
noDok = TextBox1.Text
namaDok = TextBox8.Text
lembaga = TextBox3.Text
term = TextBox4.Text
tglKeluar = TextBox5.Text
masa = TextBox6.Text
Columns("E:E").Select
Cells.Find(what:=noDok,
after:=ActiveCell,
LookIn:=xlValues,
searchorder:=xlByColumns,
searchdirection:=xlNext,
searchformat:=False).Activate

ActiveCell.Offset(0, -3).Select 'kolom B
namaDok = ActiveCell.Value
TextBox8.Text = namaDok
ActiveCell.Offset(0, 1).Select ' kolom C
lembaga = ActiveCell.Value
TextBox3.Text = lembaga
ActiveCell.Offset(0, 3).Select ' kolom F
term = ActiveCell.Value
TextBox4.Text = term
ActiveCell.Offset(0, 1).Select ' kolom G
tglKeluar = ActiveCell.Value
TextBox5.Text = tglKeluar
ActiveCell.Offset(0, 1).Select ' kolom H
masa = ActiveCell.Value
TextBox6.Text = masa
End Sub
Private Sub CommandButton2_Click()
'namaDok = ActiveCell.Value
ActiveCell.Offset(0, (ActiveCell.Column - 1) * -1).Select
ActiveCell.Offset(0, 1).Select

lookat:=xlPart,
MatchCase:=False,

44

ActiveCell.Value = TextBox8.Text ' nama dok
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = ComboBox1.Text ' jenis dok
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = TextBox3.Text ' lembaga
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = TextBox1.Text ' no
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = TextBox4.Text ' term
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = TextBox5.Text ' tgl keluar
ActiveCell.Offset(0, 1).Value = TextBox6.Text ' masa
End Sub
Private Sub CommandButton4_Click()
Unload Me
End Sub
Private Sub UserForm_Initialize()
ComboBox1.List = Range("jenisDokumen").Value
End Sub

45

Modul 1
Public Sub format()
Range("a1").Value =
Range("b1").Value =
Range("c1").Value =
Range("d1").Value =
Range("e1").Value =
Range("f1").Value =
Range("g1").Value =

"NO"
"Nama Dokumen"
"Jenis Dokumen"
"Lembaga Sertifikasi"
"Nomor Dokumen"
"Tanggal Dikeluarkan"
"Masa Berlaku"

End Sub

Modul 3
Sub Button1_Click()
UserForm1.Show
End Sub
Sub inputJenisDK()
UserForm2.Show
End Sub
Sub perbaruiDok()
UserForm3.Show
End Sub
Sub edit1()
UserForm4.Show
End Sub

Modul 5
Sub perbarui()
UserForm3.Show
End Sub

Modul 6
Sub masaTenggang()
Call formatMonitor2
Dim namDok
Dim jenDok
Dim lembaga
Dim noDok
Dim term
Dim tglKeluar
Dim masa
Dim selisih
Dim totalMasaTG As Integer
totalMasaTG = 0
Dim selKiri, selKanan
Dim tabelJenis() As Variant
Dim daftarSheet() As Variant
tabelJenis = Range("jenisDokumen")
Dim r As Long
ReDim daftarSheet(UBound(tabelJenis, 1))
For r = 1 To UBound(tabelJenis, 1)
'daftarSheet(r) = tabelJenis(r, 1)
Sheets(tabelJenis(r, 1)).Select
Range("A2").Select
ActiveCell.Offset(1, 0).Select
Do Until IsEmpty(ActiveCell.Value)
ActiveCell.Offset(0, 1).Select

46

namDok = ActiveCell.Value
ActiveCell.Offset(0, 1).Select
jenDok = ActiveCell.Value
ActiveCell.Offset(0, 1).Select
lembaga = ActiveCell.Value
ActiveCell.Offset(0, 1).Select
noDok = ActiveCell.Value
ActiveCell.Offset(0, 1).Select
term = ActiveCell.Value
ActiveCell.Offset(0, 1).Select
tglKeluar = ActiveCell.Value
ActiveCell.Offset(0, 1).Select
masa = ActiveCell.Value
ActiveCell.Offset(0, 1).Select
selisih = ActiveCell.Value
selKanan = ActiveCell.AddressLocal
ActiveCell.Offset(0, -8).Select
selKiri = ActiveCell.AddressLocal
If (selisih 0) Then
Range(selKiri & ":" & selKanan).Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
Sheets("Monitor2").Select
Range("A1").Select
ActiveCell.End(xlDown).Select
ActiveCell.Offset(1, 0).Select
ActiveCell.Value = "=ROW()-2"
ActiveCell.Value = " " & ActiveCell.Value
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = namDok
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = jenDok
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = lembaga
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = noDok
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = term
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = tglKeluar
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = masa
totalMasaTG = totalMasaTG + 1
End If
Sheets(tabelJenis(r, 1)).Select
ActiveCell.Offset(1, 0).Select
Loop
Next r
MsgBox ("Total Sertifikat Yang Masuk Masa Tenggang adalah " & totalMasaTG & " Segera
Perbarui")
End Sub

47

Modul 7
Sub cekExpired()
Call formatMonitor1
Dim namDok
Dim jenDok
Dim lembaga
Dim noDok
Dim term
Dim tglKeluar
Dim masa
Dim selisih
Dim totalExp As Integer
totalExp = 0
Dim selKiri, selKanan
Dim tabelJenis() As Variant
Dim daftarSheet() As Variant
tabelJenis = Range("jenisDokumen")
Dim r As Long
ReDim daftarSheet(UBound(tabelJenis, 1))
For r = 1 To UBound(tabelJenis, 1)
'daftarSheet(r) = tabelJenis(r, 1)
Sheets(tabelJenis(r, 1)).Select
Range("A2").Select
ActiveCell.Offset(1, 0).Select
Do Until IsEmpty(ActiveCell.Value)
ActiveCell.Offset(0, 1).Select
namDok = ActiveCell.Value
ActiveCell.Offset(0, 1).Select
jenDok = ActiveCell.Value
ActiveCell.Offset(0, 1).Select
lembaga = ActiveCell.Value
ActiveCell.Offset(0, 1).Select
noDok = ActiveCell.Value
ActiveCell.Offset(0, 1).Select
term = ActiveCell.Value
ActiveCell.Offset(0, 1).Select
tglKeluar = ActiveCell.Value
ActiveCell.Offset(0, 1).Select
masa = ActiveCell.Value
ActiveCell.Offset(0, 1).Select
selisih = ActiveCell.Value
selKanan = ActiveCell.AddressLocal
ActiveCell.Offset(0, -8).Select
selKiri = ActiveCell.AddressLocal
If (selisih < 1) Then
Range(selKiri & ":" & selKanan).Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 255
.TintAndShade = 0
.PatternTintAndShade = 0
End With
Sheets("Monitor1").Select
Range("A1").Select
ActiveCell.End(xlDown).Select
ActiveCell.Offset(1, 0).Select
ActiveCell.Value = "=ROW()-2"

48

ActiveCell.Value = " " & ActiveCell.Value
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = namDok
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = jenDok
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = lembaga
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = noDok
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = term
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = tglKeluar
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = masa
totalExp = totalExp + 1
End If
Sheets(tabelJenis(r, 1)).Select
ActiveCell.Offset(1, 0).Select
Loop
Next r
MsgBox ("Total Sertifikat Expired adalah " & totalExp)
End Sub

Modul 8
Sub clearData()
Call formatMonitor1
Call formatMonitor2
End Sub

Modul 9
Sub formatMonitor1()
'
'formatMonitor Macro

'hapus isi monitor
Sheets("Monitor1").Select
Range("A1:h60000").Select
Selection.Delete Shift:=xlToLeft
'beri judul
ActiveCell.FormulaR1C1
Range("A2").Select
ActiveCell.FormulaR1C1
Range("B2").Select
ActiveCell.FormulaR1C1
Range("C2").Select
ActiveCell.FormulaR1C1
Range("D2").Select
ActiveCell.FormulaR1C1
Range("E2").Select
ActiveCell.FormulaR1C1
Range("F2").Select
ActiveCell.FormulaR1C1

= "Monitor 1"
= "No"
= "Nama Dokumen"
= "Lembaga Sertifikasi"
= "Jenis Dokumen"
= "Nomor Dokumen"
= "Term (Tahun)"

49

Range("G2").Select
ActiveCell.FormulaR1C1 = "Tanggal Dikeluarkan"
Range("H2").Select
ActiveCell.FormulaR1C1 = "Masa Berlaku"
Range("A1").Select
With Selection.Font
.Name = "Courier New"
.Size = 11
.Strikethrough = False
.Superscript = False
.Subscript = False
.OutlineFont = False
.Shadow = False
.Underline = xlUnderlineStyleNone
.ThemeColor = xlThemeColorLight1
.TintAndShade = 0
.ThemeFont = xlThemeFontNone
End With
With Selection.Font
.Name = "Cooper Black"
.Size = 11
.Strikethrough = False
.Superscript = False
.Subscript = False
.OutlineFont = False
.Shadow = False
.Underline = xlUnderlineStyleNone
.ThemeColor = xlThemeColorLight1
.TintAndShade = 0
.ThemeFont = xlThemeFontNone
End With
Selection.Font.Size = 12
Selection.Font.Size = 14
With Selection.Font
.ThemeColor = xlThemeColorLight2
.TintAndShade = -0.249977111117893
End With
Range("A2:I2").Select
With Selection.Font
.ThemeColor = xlThemeColorDark1
.TintAndShade = 0
End With
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.ThemeColor = xlThemeColorDark1
.TintAndShade = -0.349986266670736
.PatternTintAndShade = 0
End With
Selection.Font.Bold = True
Selection.Borders(xlDiagonalDown).LineStyle = xlNone
Selection.Borders(xlDiagonalUp).LineStyle = xlNone
With Selection.Borders(xlEdgeLeft)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
With Selection.Borders(xlEdgeTop)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
With Selection.Borders(xlEdgeBottom)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0

50

.Weight = xlThin
End With
With Selection.Borders(xlEdgeRight)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
With Selection.Borders(xlInsideVertical)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
With Selection.Borders(xlInsideHorizontal)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
Cells.Select
Cells.EntireColumn.AutoFit
Range("A2").Select
Columns("A:A").ColumnWidth = 4.29
Range("I2").Select
With Selection.Interior
.Pattern = xlNone
.TintAndShade = 0
.PatternTintAndShade = 0
End With
Selection.Borders(xlDiagonalDown).LineStyle = xlNone
Selection.Borders(xlDiagonalUp).LineStyle = xlNone
Selection.Borders(xlEdgeLeft).LineStyle = xlNone
Selection.Borders(xlEdgeTop).LineStyle = xlNone
Selection.Borders(xlEdgeBottom).LineStyle = xlNone
Selection.Borders(xlEdgeRight).LineStyle = xlNone
Selection.Borders(xlInsideVertical).LineStyle = xlNone
Selection.Borders(xlInsideHorizontal).LineStyle = xlNone
Selection.Borders(xlDiagonalDown).LineStyle = xlNone
Selection.Borders(xlDiagonalUp).LineStyle = xlNone
With Selection.Borders(xlEdgeLeft)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
Selection.Borders(xlEdgeTop).LineStyle = xlNone
Selection.Borders(xlEdgeBottom).LineStyle = xlNone
Selection.Borders(xlEdgeRight).LineStyle = xlNone
Selection.Borders(xlInsideVertical).LineStyle = xlNone
Selection.Borders(xlInsideHorizontal).LineStyle = xlNone
Range("A2:H2").Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.ThemeColor = xlThemeColorDark1
.TintAndShade = -0.499984740745262
.PatternTintAndShade = 0
End With
Range("C5").Select
End Sub
Sub formatMonitor2()
'hapus isi monitor
Sheets("Monitor2").Select
Range("A1:h60000").Select
Selection.Delete Shift:=xlToLeft

51

'beri judul
ActiveCell.FormulaR1C1 = "Monitor 2"
Range("A2").Select
ActiveCell.FormulaR1C1 = "No"
Range("B2").Select
ActiveCell.FormulaR1C1 = "Nama Dokumen"
Range("C2").Select
ActiveCell.FormulaR1C1 = "Lembaga Sertifikasi"
Range("D2").Select
ActiveCell.FormulaR1C1 = "Jenis Dokumen"
Range("E2").Select
ActiveCell.FormulaR1C1 = "Nomor Dokumen"
Range("F2").Select
ActiveCell.FormulaR1C1 = "Term (Tahun)"
Range("G2").Select
ActiveCell.FormulaR1C1 = "Tanggal Dikeluarkan"
Range("H2").Select
ActiveCell.FormulaR1C1 = "Masa Berlaku"
Range("A1").Select
With Selection.Font
.Name = "Courier New"
.Size = 11
.Strikethrough = False
.Superscript = False
.Subscript = False
.OutlineFont = False
.Shadow = False
.Underline = xlUnderlineStyleNone
.ThemeColor = xlThemeColorLight1
.TintAndShade = 0
.ThemeFont = xlThemeFontNone
End With
With Selection.Font
.Name = "Cooper Black"
.Size = 11
.Strikethrough = False
.Superscript = False
.Subscript = False
.OutlineFont = False
.Shadow = False
.Underline = xlUnderlineStyleNone
.ThemeColor = xlThemeColorLight1
.TintAndShade = 0
.ThemeFont = xlThemeFontNone
End With
Selection.Font.Size = 12
Selection.Font.Size = 14
With Selection.Font
.ThemeColor = xlThemeColorLight2
.TintAndShade = -0.249977111117893
End With
Range("A2:I2").Select
With Selection.Font
.ThemeColor = xlThemeColorDark1
.TintAndShade = 0
End With
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.ThemeColor = xlThemeColorDark1
.TintAndShade = -0.349986266670736
.PatternTintAndShade = 0
End With
Selection.Font.Bold = True
Selection.Borders(xlDiagonalDown).LineStyle = xlNone
Selection.Borders(xlDiagonalUp).LineStyle = xlNone
With Selection.Borders(xlEdgeLeft)
.LineStyle = xlContinuous

52

.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
With Selection.Borders(xlEdgeTop)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
With Selection.Borders(xlEdgeBottom)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
With Selection.Borders(xlEdgeRight)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
With Selection.Borders(xlInsideVertical)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
With Selection.Borders(xlInsideHorizontal)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
Cells.Select
Cells.EntireColumn.AutoFit
Range("A2").Select
Columns("A:A").ColumnWidth = 4.29
Range("I2").Select
With Selection.Interior
.Pattern = xlNone
.TintAndShade = 0
.PatternTintAndShade = 0
End With
Selection.Borders(xlDiagonalDown).LineStyle = xlNone
Selection.Borders(xlDiagonalUp).LineStyle = xlNone
Selection.Borders(xlEdgeLeft).LineStyle = xlNone
Selection.Borders(xlEdgeTop).LineStyle = xlNone
Selection.Borders(xlEdgeBottom).LineStyle = xlNone
Selection.Borders(xlEdgeRight).LineStyle = xlNone
Selection.Borders(xlInsideVertical).LineStyle = xlNone
Selection.Borders(xlInsideHorizontal).LineStyle = xlNone
Selection.Borders(xlDiagonalDown).LineStyle = xlNone
Selection.Borders(xlDiagonalUp).LineStyle = xlNone
With Selection.Borders(xlEdgeLeft)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
Selection.Borders(xlEdgeTop).LineStyle = xlNone
Selection.Borders(xlEdgeBottom).LineStyle = xlNone
Selection.Borders(xlEdgeRight).LineStyle = xlNone
Selection.Borders(xlInsideVertical).LineStyle = xlNone
Selection.Borders(xlInsideHorizontal).LineStyle = xlNone
Range("A2:H2").Select
With Selection.Interior
.Pattern = xlSolid

53

.PatternColorIndex = xlAutomatic
.ThemeColor = xlThemeColorDark1
.TintAndShade = -0.499984740745262
.PatternTintAndShade = 0
End With
Range("C5").Select
End Sub

Modul 13
Sub JDL()
'
' JDL Macro
'
'

ActiveCell.FormulaR1C1 = "No"
Range("B1").Select
ActiveCell.FormulaR1C1 = "Nama Dokumen"
Range("C1").Select
ActiveCell.FormulaR1C1 = "Jenis Dokumen"
Range("D1").Select
ActiveCell.FormulaR1C1 = "Lembaga Sertifikasi"
Range("E1").Select
ActiveCell.FormulaR1C1 = "Nomor Dokumen"
Range("F1").Select
ActiveCell.FormulaR1C1 = "Term (Tahun)"
Range("E1:G3").Select
Range("G1").Activate
ActiveCell.FormulaR1C1 = "Tanggal Dikeluarkan"
Range("H1").Select
ActiveCell.FormulaR1C1 = "Masa Berlaku"
Range("I1").Select
ActiveCell.FormulaR1C1 = "Sisa Waktu (Hari)"
Range("A1:I1").Select
With Selection.Font
.ThemeColor = xlThemeColorDark1
.TintAndShade = 0
End With
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.ThemeColor = xlThemeColorDark1
.TintAndShade = -0.499984740745262
.PatternTintAndShade = 0
End With
Selection.Borders(xlDiagonalDown).LineStyle = xlNone
Selection.Borders(xlDiagonalUp).LineStyle = xlNone
With Selection.Borders(xlEdgeLeft)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
With Selection.Borders(xlEdgeTop)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
With Selection.Borders(xlEdgeBottom)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
With Selection.Borders(xlEdgeRight)

54

.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
With Selection.Borders(xlInsideVertical)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
With Selection.Borders(xlInsideHorizontal)
.LineStyle = xlContinuous
.ColorIndex = 0
.TintAndShade = 0
.Weight = xlThin
End With
Selection.Font.Bold = True
Cells.Select
Cells.EntireColumn.AutoFit
Range("A2").Select
End Sub

55

Lampiran 4 : Surat Keterangan Praktek Kerja

56

Lampiran 5: Rekapitulasi Kehadiran Praktek Kerja

57

Lampiran 6 : Jurnal Praktek Kerja

58

59

Lampiran 7 : Jurnal Bimbingan Tugas Akhir

Dokumen yang terkait

FREKUENSI KEMUNCULAN TOKOH KARAKTER ANTAGONIS DAN PROTAGONIS PADA SINETRON (Analisis Isi Pada Sinetron Munajah Cinta di RCTI dan Sinetron Cinta Fitri di SCTV)

27 310 2

DEKONSTRUKSI HOST DALAM TALK SHOW DI TELEVISI (Analisis Semiotik Talk Show Empat Mata di Trans 7)

21 290 1

MANAJEMEN PEMROGRAMAN PADA STASIUN RADIO SWASTA (Studi Deskriptif Program Acara Garus di Radio VIS FM Banyuwangi)

29 282 2

MOTIF MAHASISWA BANYUMASAN MENYAKSIKAN TAYANGAN POJOK KAMPUNG DI JAWA POS TELEVISI (JTV)Studi Pada Anggota Paguyuban Mahasiswa Banyumasan di Malang

20 244 2

PERANAN ELIT INFORMAL DALAM PENGEMBANGAN HOME INDUSTRI TAPE (Studi di Desa Sumber Kalong Kecamatan Wonosari Kabupaten Bondowoso)

38 240 2

Analisis Sistem Pengendalian Mutu dan Perencanaan Penugasan Audit pada Kantor Akuntan Publik. (Suatu Studi Kasus pada Kantor Akuntan Publik Jamaludin, Aria, Sukimto dan Rekan)

136 695 18

DOMESTIFIKASI PEREMPUAN DALAM IKLAN Studi Semiotika pada Iklan "Mama Suka", "Mama Lemon", dan "BuKrim"

133 700 21

Representasi Nasionalisme Melalui Karya Fotografi (Analisis Semiotik pada Buku "Ketika Indonesia Dipertanyakan")

53 338 50

KONSTRUKSI MEDIA TENTANG KETERLIBATAN POLITISI PARTAI DEMOKRAT ANAS URBANINGRUM PADA KASUS KORUPSI PROYEK PEMBANGUNAN KOMPLEK OLAHRAGA DI BUKIT HAMBALANG (Analisis Wacana Koran Harian Pagi Surya edisi 9-12, 16, 18 dan 23 Februari 2013 )

64 565 20

PENERAPAN MEDIA LITERASI DI KALANGAN JURNALIS KAMPUS (Studi pada Jurnalis Unit Aktivitas Pers Kampus Mahasiswa (UKPM) Kavling 10, Koran Bestari, dan Unit Kegitan Pers Mahasiswa (UKPM) Civitas)

105 442 24