-
Notifications
You must be signed in to change notification settings - Fork 0
/
Module9.vb
100 lines (81 loc) · 2.58 KB
/
Module9.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
'************************************************************************************************************************
'************************************************************************************************************************
'********* THIS MODULE REDIRECTS TO THE DIFFERENT MODULES SYSTEMS: RODI, GALLO1, GALLO2 OR MODULES USING PYTHON *********
'************************************ THE SYSTEM USED IS CHOSEN BY THE USER *********************************************
'************************************************************************************************************************
'************************************************************************************************************************
'
' LinkedIn: https://www.linkedin.com/in/ajsiracusa/
' GitHub: https://github.com/JonatanSiracusa
' Instagram: @JonaSiracusa
'
'
Sub asignarCargarOrdenes()
Dim sistema As Integer
Dim Hoja2 As String
Hoja2 = "Datos"
libro = Worksheets(Hoja2).Cells(7, 3)
sistema = Workbooks(libro).Worksheets(Hoja2).Cells(9, 14)
Select Case sistema
' Case 1
' Call cargarOrdenes
' Case 2
' Call cargarOrdenes
' Case 3
' Call cargarOrdenesGallo2
Case 4
Call cargarOrdenesPython
End Select
End Sub
Sub asignarCancelarOrdenes()
Dim sistema As Integer
Dim Hoja2 As String
'libro = ThisWorkbook.Name
Hoja2 = "Datos"
libro = Worksheets(Hoja2).Cells(7, 3)
sistema = Workbooks(libro).Worksheets(Hoja2).Cells(9, 14)
Select Case sistema
' Case 1
' Call cancelarOrden
' Case 2
' Call cancelarOrden
' Case 3
' Call cancelarOrdenGallo2
Case 4
Call cancelarOrdenPython
End Select
End Sub
Sub asignarIngresarSistema()
Dim sistema As Integer
Dim Hoja2 As String
'libro = ThisWorkbook.Name
Hoja2 = "Datos"
libro = Worksheets(Hoja2).Cells(7, 3)
sistema = Workbooks(libro).Worksheets(Hoja2).Cells(9, 14)
Select Case sistema
' Case 1
' Call ingresarGalloRodi(sistema)
' Case 2
' Call ingresarGalloRodi(sistema)
' Case 3
' Call ingresarGallo2
Case 4
Call ingresarPython
End Select
End Sub
Sub asignarRefreshPeriodico()
Dim sistema As Integer
Dim Hoja2 As String
'libro = ThisWorkbook.Name
Hoja2 = "Datos"
libro = Worksheets(Hoja2).Cells(7, 3)
sistema = Workbooks(libro).Worksheets(Hoja2).Cells(9, 14)
Select Case sistema
Case 1
Call refreshPeriodicoSistemas(libro)
Case 2
Call refreshPeriodicoSistemas(libro)
Case 3
Call refreshPeriodicoSistemas(libro)
End Select
End Sub