การใช้งานโปรแกรม NEO RC DESIGN V5

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 173

C DESIGN V5

NEOR


254640

.. 2555






NEO Microsoft Excel
NEO RC DESIGN v.5
WSD. (
)
( )
() . .. ..
7
1 2
3 4 5
6 7
Source Code
NEO RC DESIGN v.5 ( )
NEO RC DESIGN v.5

NEO RC DESIGN v.5







2554

(1)

(3)

1
1.1 NEO RC DESIGN V5
1.2
1.3 NEO RC DESIGN V5
1.4 NEO RC DESIGN V5
1.5 NEO RC DESIGN V5
1.6 Microsoft Excel
NEO RC DESIGN V5
1.7 NEO RC DESIGN V5
1.8 NEO RC DESIGN V5

1
1
3
7
7
7
9

2
2.1
2.2
2.3
2.4

17
17
19
24
26

3
3.1
3.2
3.2.1
3.2.2
3.2.3
3.2.4

27
27
28
28
30
33
35

10
13

(4)

( )

3.3
3.3.1
3.3.2
3.3.3
7.2.4

36
36
38
42
44

4
4.1
4.2
4.2.1
4.2.2
4.2.3
4.2.4
4.3
4.3.1
4.3.2
4.3.3
4.4.4

45
45
46
46
48
51
53
54
54
56
58
60

5
5.1
5.2
5.2.1
5.2.2
5.2.3
5.2.4

61
62
63
63
65
70
72

(5)

( )

6
6.1
6.2
6.2.1
6.2.2
6.2.3
6.2.4

73
74
75
75
77
81
83

7
7.1
7.2
7.2.1
7.2.2
7.2.3
7.2.4
7.3
7.3.1
7.3.2
7.3.3
7.3.4

85
84
85
85
88
92
94
95
95
98
100
102

Source Code

105

NEO RC DESIGN V5

157

1.1 NEO RC DESIGN V5



254640 ( 1.3967)
4 .. 2554 1.1

1.1 NEO RC DESIGN V5

| 2

1.2
Menu Auto Run
Microsoft Excel 2003
Microsoft Excel ( ) VB
Script + macro ()

| 3

(
)
(Working Stress Design) (
)

1
(
)
( )

1.2
1.

2.
(Working stress design; WSD.)
3.
4.

() (
) Blow count
Wire mesh (Mix design)



5.

6.
1.3

| 4

7.
1.4
8.
9. 1.5

1.3

| 5

1.4

| 6

1.5

| 7

1.3 NEO RC DESIGN V5


1.
(.)
(..) (..)
2.
3.

4. Microsoft Office

1.4 NEO RC DESIGN V5


1.
Tab

2.
3. OK.!
NO.! FAIL.!
1.5 NEO RC DESIGN V5
1. 1

2.
(.)
3.

-
http://www.tumcivil.com 1.6

| 8

1.6
: http://www.tumcivil.com/engfanatic/software/top_download.php

| 9

-
http://www.yotathai.net/ 1.7

1.7
: http://downloads.yotathai.net/search/label/excel
1.6 Microsoft Excel NEO RC DESIGN V5
1.

2.

3.

| 10

VB Script macro
Work sheet VB script


4.
5.
6.
7.
8.

1.7 NEO RC DESIGN V5


1. Microsoft Excel 2003
2. macro Microsoft Excel
1.8 1.13
1

1.8 Office

| 11

1.9 Excel

3
4

1.10

| 12

1.11

1.12

| 13

1.13 2
1.8 NEO RC DESIGN V5
1. 1.14

1.14

| 14

2. 1.15

1.15
3.
1.16 ( Enter)

1.

2.

| 15

1.16
4. 1.17 1.18

1.17 NEO RC DESIGN V5

| 16

1.18 NEO RC DESIGN V5

2


(
)





2.1
1. --->

2.1

2.1 NEO RC DESIGN V5

| 18

2. --->
2.2

2.2
3. 2.3
1.4 1

2.3

| 19

2.2





2.2.1 I. Dead Load

1) 1.8 Roof Tile: CPAC, Metal Sheet

2) 1.9 Finishing: ,

| 20

3) 1.10 Light Partitions:

4) 1.11 Wall (General):


2.2.2 II. Live Load


1) 2.1 Roof :

| 21

2) 2.2 Slab (General):

3) 2.3 Stair:

4) 2.4 Hall, Corrid.:


| 22

5) 2.5 Machine Room:


2.2.3 III. Strength & Stress


1) 3.1 Use fc(Cylinder):
173 ksc. 180 ksc. 200 ksc. 210 ksc.

2) 3.2 Use fc(Bending):


. .

| 23

3) 3.3 Use fc(Bearing):

4) 3.5 Use fy(Yield):

2.2.4 IV. Property of Steel & Constants


1) 4.1 Es(Steel):

2.2.5 V. Property of Soil & Pile


1) 5.1 All. Soil Bearing:

| 24

2) 5.2 Pile Size(Only [/]): .

2.3
1. --->

2.4

2.4
2. --->
2.5

| 25

2.5 Microsoft Excel 2007


3. --->

2.6

2.6

| 26

2.4

2.7

3





NEO RC DESIGN V5
( ) (
)
( )
( ) ( )
3.1
1. --->

3.1

3.1

| 28

2.
3.2

3.2
3.2
3.2.1
1) --->
3.3

3.3
2) --->
3.4
2

3.4

| 29

3) SG-1
SG1
3.5
4
3
3.5
4)
3.6 1.4
1

3.6

| 30

2
(
)

3D

3.2.2

S-4

S-4

S-4

S-1

S-4

S-4

S-2

S-3

3.7

3 m.

S-1

1.5 m.

SG-1

S-4

3 m.

1 m.

S-4

S-5

S-1

S-4

S-4

S-4

S-5

S-4

S-5

S-4

1 m.

1 m.

3 m.

1.5 m.

3 m.

S-5

3 m.

| 31

1) I. Data For Design


(1.1) x

(1.2)

| 32

(1.3)

(1.4) 1.6 Req.


Thickness (t.)

2) Table of Reinforcement for Selection


| 33

3.2.3
1) --->

3.8

3.8
2) --->
3.9

| 34

3.9 Microsoft Excel 2007


3) --->

3.10

3.10

| 35

3.2.4

3.10

| 36

3.3
3.3.1
1) --->
3.11

3.11
2) --->

3.12

3.12
3) S-1 S1

3.13

| 37

4
3
3.13
4) 3.14
1.4 1

3.14

| 38

2
(
)

3D


(Point Load)
(Line Load) (Area Load)

3.3.2
4 m.

S-1

S-1

S-1

S-4

S-4

S-4

S-4

S-4

ST-1

S-3

3 m.

S-4

1.5 m.

S-4

S-4

S-2

2 m.

S-2

S-5

S-2

S-5

S-2

S-5

S-6

S-4

1 m.

1.5 m.

4 m.

1.5 m.

4 m.

S-5

1 m.

3.15

| 39

1) I. Data For Design


(1.1) (
)

(1.2) ( -)

| 40

(1.3)

(1.4) 2
( -
- ---
)

| 41

(1.5) 1.10 Req.


Thickness

| 42

2) 2 (
) (
)

3.3.3
1) --->

3.16

3.16

| 43

2) --->

3.17

3.17 Microsoft Excel 2007


3) --->

3.18

3.18

| 44

3.3.4

3.19







NEO RC DESIGN V5
()
( )
4.1
1. --->

4.1

4.1

| 46

2.
4.2

4.2
4.2
4.2.1
4.3

1) --->

4.3
2) --->
4.4
2

4.4

| 47

3)
ST-1 ST1
4.5
4
3
4.5
4)
4.6 1.4
1

4.6

| 48

2
(
)

3D

4.2.2

4.7 2
1) I. Data For Design

| 49

(1.1)

| 50

(1.2) 2
(
)

(1.3) 1.10
Req. Thickness

2) 2 (
) (
)

| 51

4.2.3
1) --->

4.8

4.8
2) --->
4.9

| 52

4.9 Microsoft Excel 2007


3) --->

4.10

4.10

| 53

4.2.4

4.11

| 54

4.3
4.3.1
1) --->
4.12

4.12
2) --->

4.13

4.13
3) (
) ST-1 ST1
4.14

| 55

4
3
4.14
4) 4.15
1.4
1

4.15
2
(
)

| 56

4.3.2

S-1

S-1

S-3

S-4

1.5 m.

S-4

S-4

S-2

S-2

2 m.

S-2

3 m.

S-2

ST-1

S-4

S-5

S-4

S-5

1.50 m.

S-4

S-5

S-4 S-4

1.5 m.

S-1

1 m.

1.5 m.

4 m.

S-5

4 m.

S-6

S-4

4 m.

1 m.

4.16
1)
(1.1)

| 57

(1.2) ( )

(1.3)

| 58

2)
2 ( )
( )

4.3.3
1) --->

4.17

4.17
2) --->
4.18

| 59

4.18 Microsoft Excel 2007


3) --->

4.19

4.19

| 60

4.3.4

4.20

NEO RC DESIGN V5
( )
()


() ()
80 .

(
)

( )
NEO RC
DESIGN V5
()
(Superposition)
(Middle Third)
( )

| 62

5.1
1. --->

5.1

5.1
2. --->
5.2
1

5.2

| 63

5.2
5.2.1
1) 5.2
2) B-1 B1

5.3
3
2
5.3
3) 5.4

1.4 1
2
(
)

| 64

5.4

| 65

5.2.2

S-4

S-4

S-4

S-4

S-1

S-4

S-3

ST-1

S-2

1.5 m.

S-1

S-6

S-1

S-4

S-4

2 m.

S-4

S-5

S-4

S-5

S-4

S-5

S-4

1 m.

S-4

1 m.

1.5 m.

3 m.

3 m.

3 m.

S-5

3 m.

1 m.

1 m.

= 1,000 kg./m.

2 m.

1.5 m.

3 m.

1.5 m.

1 m.

= 1,000 kg./m.

M = L2/8 = (1,000x32)/8 = 1,125 kg.-m. ( )


V = L/2 = (1,000x3)/2 = 1,500 kg. ( )
:
5.5

| 66

5.5
2 ( 5.5)
NEO RC DESIGN V5


5.6

5.6
1) I. Data For Design
(1.1)

| 67

(1.2)

(1.3)

| 68

2) II. Required Reinforcement ((As/bd)


>= (14/Fy))
(2.1)

(2.2) 12 .

(2.3)
()

| 69

| 70

5.2.3
1) --->

5.7

5.7
2) --->

5.8

5.8 Microsoft Excel 2007


3) --->

5.9

| 71

5.9

5.10

5.10

| 72

5.2.4

5.11






NEO RC DESIGN V5
( )




( )
( )
NEO RC DESIGN V5

()

(Tributary Area)

| 74

6.1
1. --->

6.1

6.1
2. --->
6.2

6.2

| 75

6.2
6.2.1
1) 6.2
2) B-1 B1

6.3
3
2
6.3
3) 6.4

1.4 1
2
(
)




| 76

6.4

| 77

6.2.2

2.75 m.

2.75 m.

3.25 m.

P = 1,500 + 7,500 + 7,500 = 16,500 kg. ()


H = 3.25 m. ( )
: ACI
0.10Pbx kg.-m.
6.5 3
3 6.5
2
(Tributary Area) NEO RC DESIGN
V5

6.6

| 78

2
1
3

6.6
1) I. Data For Design
(1.1)

| 79

(1.2)

| 80

(1.3)

2)
( 12 .) ()

| 81

6.2.3
1) --->

6.7

6.7
2) --->
6.8

| 82

6.8 Microsoft Excel 2007


3) --->

6.9

6.9

| 83

6.2.4

6.10





(
) (
)


NEO RC DESIGN V5
(
) ()
7.1
1. --->

7.1

| 86

7.1
2.
7.2

7.2
7.2
7.2.1
1) --->
7.3

| 87

7.3
2) --->

7.4

7.4
3) F-1 F1

7.5
4
3
7.5
4) 7.6
1.4
1

| 88

7.6
2
(
)

| 89

7.2.2

2.75 m.

2.75 m.

15x15cm.

3.25 m.

20x20 cm.

1.50 m.

25x25 cm.
25x25 cm.

7.7
1) I. Data For Design
(1.1)

| 90

(1.2)

| 91

(1.3)

| 92

(1.4)

2) III.Design Reinforcement
()

| 93

7.2.3
1) --->

7.8

7.8
2) --->
7.9

| 94

7.9 Microsoft Excel 2007


3) --->

7.10

7.10

| 95

7.2.4

7.11

| 96

7.11 ()
7.3
7.3.1
1)

--->

7.12

7.12
2) --->
7.13

| 97

7.13
3) F-1
F1
7.14
4
3
7.14
4)
7.15 1.4
1

| 98

7.15
2
(
)

| 99

7.3.2
1) I. Data For Design
(1.1)

(1.2)

(1.3)

2) III. Design Dimension


(2.1)

| 100

(2.2)

(2.3)

3) IV. Design Reinforcement


(3.1)

| 101

(3.2)

7.3.3
1) --->

7.16

7.16
2) --->
7.17

| 102

7.17 Microsoft Excel 2007


3) --->

7.18

7.18

| 103

7.3.4

7.19

| 104

7.19 ()

Source Code

| 106

1. SOURCE CODE (VB SCRIPT) : NEO RC DESIGN V5


Sub auto_open()
Application.Run macro:="SCREEN1"
Application.Run macro:="SCREEN2"
Application.Run macro:="Macro1"
Application.Caption = "NeoRCDesign v.5: . . [ .

]: Date = " & Date

Sheets("sheet2").Select
Range("j10").Select
Selection.ClearContents
With ActiveWindow

.DisplayVerticalScrollBar = False
.DisplayHorizontalScrollBar = False
.DisplayWorkbookTabs = False
.DisplayHeadings = False
End With
End Sub
Sub P()
ActiveWindow.SelectedSheets.PrintPreview
End Sub
Sub MAIN()
Sheets("Sheet1").Select
Application.Run macro:="SCREEN1"
Form2.Show
End Sub
Sub SCREEN1()
With ActiveWindow

.DisplayVerticalScrollBar = False
.DisplayHorizontalScrollBar = False
.DisplayHeadings = False

| 107

End With
ActiveWindow.DisplayZeros = False
Application.Run macro:="Macro1"
End Sub
Sub Q()
Application.DisplayFormulaBar = True
Application.CommandBars("Standard").Visible = True
Application.CommandBars("Formatting").Visible = True
ActiveWindow.DisplayVerticalScrollBar = True
ActiveWindow.DisplayHorizontalScrollBar = True
ActiveWindow.DisplayHeadings = True
ActiveWorkbook.Saved = False
Application.QUIT
End Sub
Sub SCREEN2()
Application.DisplayFormulaBar = True
Application.DisplayStatusBar = False
Application.CommandBars("Standard").Visible = False
Application.CommandBars("Formatting").Visible = False
Application.CommandBars("Drawing").Visible = False
With Application

.StandardFont = "AngsanaUPC"
.StandardFontSize = "16"
.EnableSound = True
.RollZoom = False
End With
ActiveWindow.DisplayWorkbookTabs = False
ActiveWindow.DisplayZeros = False
Application.Run macro:="Macro1"
End Sub

| 108

Sub MAIN1()
Sheets("Sheet1").Select
Application.Run macro:="SCREEN1"
Form2.Show
End Sub
Sub MAIN2()
Sheets("Sheet1").Select
Application.Run macro:="SCREEN1"
Form2.Show
End Sub
Sub MAIN3()
Sheets("Sheet1").Select
Application.Run macro:="SCREEN1"
Form3.Show
End Sub
Sub FC()
X = Range("D20").Value
Range("D21").Value = X * 0.375
End Sub
Sub FS()
Y = Range("D24").Value
Z = Y * 0.5
If Y >= 2400 And Y < 4000 Then
Range("D25").Value = Z
Else: Range("D25").Value = 1700
End If
End Sub
Sub MAIN4()
Sheets("Sheet1").Select
Application.Run macro:="SCREEN1"

| 109

Form8.Show
End Sub
Sub CAL1()
' CAL1 Macro
ActiveSheet.Shapes("Object 181").Select
Selection.Verb
End Sub
Sub CAL2()
' CAL1 Macro
ActiveSheet.Shapes("Object 204").Select
Selection.Verb
End Sub
Sub CAL3()
' CAL1 Macro
ActiveSheet.Shapes("Object 359").Select
Selection.Verb
End Sub
Sub CAL4()
' CAL1 Macro
ActiveSheet.Shapes("Object 556").Select
Selection.Verb
End Sub
Sub CAL5()
' CAL1 Macro
ActiveSheet.Shapes("Object 168").Select
Selection.Verb
End Sub
Sub CAL6()
' CAL1 Macro
ActiveSheet.Shapes("Object 221").Select

| 110

Selection.Verb
End Sub
Sub CAL7()
' CAL1 Macro
ActiveSheet.Shapes("Object 394").Select
Selection.Verb
End Sub
Sub CAL8()
' CAL1 Macro
ActiveSheet.Shapes("Object 445").Select
Selection.Verb
End Sub
Sub CAL9()
' CAL1 Macro
ActiveSheet.Shapes("Object 32").Select
Selection.Verb
End Sub
Sub CAL10()
' CAL1 Macro
ActiveSheet.Shapes("Object 277").Select
Selection.Verb
End Sub
Sub AC()
Y = Range("D10").Value
X = Range("H10").Value
Z = 2.54 * X * Y ^ 2
Range("H14").Value = Z
End Sub
Sub Macro1()
Application.DisplayCommentIndicator = xlCommentIndicatorOnly

| 111

End Sub
Sub lc()
Sheets("LColumn").Select
Application.Run macro:="SCREEN1"
End Sub
Sub lc1()
Sheets("Column").Select
Application.Run macro:="SCREEN1"
Range("b3").Select
End Sub
Sub LC2()
DialogSheets("Dialog2").Show
End Sub
Sub SPFOOTING()
Sheets("Sheet1").Select
Application.Run macro:="SCREEN1"
Form9.Show
End Sub
Sub STFOOTING()
Sheets("Sheet1").Select
Application.Run macro:="SCREEN1"
Form9.Show
End Sub
Sub sugbeam()
Application.Run macro:="SCREEN1"
Form10.Show
End Sub
Sub MESH()
Application.Run macro:="SCREEN1"
Sheets("Mesh").Select

| 112

Form4.Show
Range("c2").Select
End Sub
Sub GSRETURN()
Application.Run macro:="SCREEN1"
Sheets("Ground Slab(SG)").Select
Range("B2").Select
End Sub
Sub GSSYM()
DialogSheets("Dialog3").Show
End Sub
Sub SSYM()
DialogSheets("Dialog4").Show
End Sub
Sub STSYM()
DialogSheets("Dialog5").Show
End Sub
Sub CLSYM()
DialogSheets("Dialog6").Show
End Sub
Sub SPSYM()
DialogSheets("Dialog7").Show
End Sub
Sub PSSYM()
DialogSheets("Dialog8").Show
End Sub
Sub HYSYM()
DialogSheets("Dialog9").Show
End Sub
Sub sgname()

| 113

X = InputBox("Enter The Name Of Slab On Grade(SG-1,SG1,..etc.)", "Design Slab On Grade", "SG-")


Range("E28").Value = X
Range("B2").Select
End Sub
Sub sname()
X = InputBox("Enter The Name Of Slab(S-1,S1,..etc.)", "Design Solid Slab", "S-")
Range("B27").Value = X
Range("B2").Select
End Sub
Sub stname()
X = InputBox("Enter The Name Of Stair(ST-1,ST1,..etc.)", "Design Stair", "ST-")
Range("f32").Value = X
Range("B2").Select
End Sub
Sub bname()
X = InputBox("Enter The Name Of Beam(GB1,GB-1,B1,B-1..etc.)", "Design Beam", "B-")
Range("d35").Value = X
Range("B1").Select
End Sub
Sub cname()
X = InputBox("Enter The Name Of Column(C-1,C1,..etc.)", "Design Column", "C-")
Sheets("Column").Range("A30").Value = X
Sheets("Column").Range("B2").Select
End Sub
Sub fname()
X = InputBox("Enter The Name Of Footing(F-1,F1,..etc.)", "Design Footing", "F-")
Range("e8").Value = X
Range("B2").Select
End Sub
Sub sfname()

| 114

X = InputBox("Enter The Name Of Footing(F-1,F1,..etc.)", "Design Footing", "F-")


Range("e45").Value = X
Range("B2").Select
End Sub
Sub firstp()
Sheets("sheet1").Select
Range("j10").Select
Form6.Show
Form2.Show
End Sub
Sub UserForm()
Form6.Show
End Sub
Sub lcolumn()
Sheets("LColumn").Select
Application.Run macro:="SCREEN1"
Range("b5").Select
End Sub
Sub analysis()
Sheets("Analysis").Select
Application.Run macro:="SCREEN1"
Range("g2").Select
End Sub
Sub rcbeam()
Sheets("Beam").Select
Application.Run macro:="SCREEN1"
Sheets("Beam").ScrollArea = "a1:j36"
Range("B1").Select
End Sub
Sub cmoment()

| 115

Y1 = Range("D10").Value
b1 = Range("D14").Value
p1 = Range("D17").Value
z1 = (b1 / 100) * (0.05) * p1
z2 = (b1 / 100) * (0.1) * p1
If Y1 = 3 Then
Range("D19").Value = z1
Else: Range("D19").Value = z2
End If
End Sub
Sub MMM()
DialogSheets("Dialog10").Show
End Sub
Sub sLL()
X = Sheets("Criteria").Range("H10").Value
Sheets("Stair").Range("D15").Value = X
End Sub

| 116

2. SOURCE CODE (VB SCRIPT) FROM Excel

FORM2

| 117

Private Sub CommandButton1_Click()


Unload Me
Application.Run macro:="SCREEN1"
Sheets("Criteria").Select
Range("B2").Select
Form4.Show
End Sub
Private Sub CommandButton11_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("Grating").Select
Range("B").Select
Form4.Show
End Sub
Private Sub CommandButton12_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("General").Select
Range("B5").Select
Form4.Show
End Sub
Private Sub CommandButton13_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("Prefab Slab").Select
Sheets("Prefab Slab").ScrollArea = "a2:j49"
Form4.Show
A = InputBox("Enter The Name Of Prefab Slab(PS-1,PS1,..etc.)", "", "PS-")
Range("D34").Value = "Detail Prefab Slab: " & A

| 118

Range("B2").Select
End Sub
Private Sub CommandButton14_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("Pile").Select
Sheets("Pile").ScrollArea = "a2:j51"
'Sheets("Pile").Shapes("Freeform 479").Visible = 0
'Sheets("Pile").Shapes("Group 464").Visible = 0
'Sheets("Pile").Shapes("Group 481").Visible = 0
'Sheets("Pile").Shapes("Group 459").Visible = 0
Range("B2").Select
Form4.Show
'DialogSheets("Dialog1").Show
End Sub
Private Sub CommandButton15_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("Hiley's").Select
Range("B2").Select
Form4.Show
End Sub
Private Sub CommandButton17_Click()
Unload Me
Application.Run macro:="MINI"
End Sub
Private Sub CommandButton16_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("Typical").Select

| 119

Range("c1").Select
Form4.Show
End Sub
Private Sub CommandButton18_Click()
Unload Me
Application.Run macro:="SCREEN1"
Form11.Show
End Sub
Private Sub CommandButton19_Click()
Unload Me
Sheets("SHEET1").Select
Range("E6").Select
Form7.Show
End Sub
Private Sub CommandButton2_Click()
Unload Me
Form3.Show
End Sub
Private Sub CommandButton3_Click()
Unload Me
Sheets("Sheet1").Select
Form8.Show
End Sub
Private Sub CommandButton4_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("Beam").Select
Sheets("Beam").ScrollArea = "a1:j36"
Form4.Show
X = InputBox("Enter The Name Of Beam(GB1,GB-1,B1,B-1..etc.)", "[]", "B-")

| 120

Range("d35").Value = X
Range("B1").Select
End Sub
Private Sub CommandButton5_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("Column").Select
Sheets("Column").ScrollArea = "a2:j34"
Form4.Show
X = InputBox("Enter The Name Of Column(C-1,C1,..etc.)", "[]", "C-")
Sheets("Column").Range("b30").Value = X
Sheets("Column").Range("B2").Select
End Sub
Private Sub CommandButton53_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("Detail").Select
Range("d1").Select
End Sub
Private Sub CommandButton54_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("Flat Slab").Select
Range("j22").Select
End Sub
Private Sub CommandButton55_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("Prestress Force").Select
Range("b1").Select

| 121

End Sub
Private Sub CommandButton6_Click()
Unload Me
Sheets("Sheet1").Select
Form9.Show
End Sub
Private Sub CommandButton7_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("Bracket").Select
Range("b2").Select
Form4.Show
End Sub
Private Sub CommandButton8_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("Tanks of Water").Select
Range("B2").Select
Form4.Show
End Sub
Private Sub CommandButton9_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("Retain").Select
Range("b2").Select
Form4.Show
End Sub
Private Sub Image1_Click()
Unload Me
Sheets("SHEET1").Select

| 122

Form6.Show
Form2.Show
End Sub
Private Sub Label2_Click()
End Sub
Private Sub UserForm_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
Form2.Caption = "NeoRCDesign v.5: [ . (.. )]"
End Sub
Private Sub UserForm_Click()
Form6.Show
End Sub
Private Sub CommandButton50_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("Mix").Select
Range("C3").Select
Form4.Show
End Sub
Private Sub CommandButton51_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("spec").Select
Range("b4").Select
Form4.Show
End Sub
Private Sub CommandButton52_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("Mesh").Select
Range("c2").Select

| 123

Form4.Show
End Sub

FORM3

| 124

Private Sub CommandButton1_Click()


Unload Me
Application.Run macro:="SCREEN1"
Sheets("Ground Slab(SG)").Select
Form4.Show
X = InputBox("Enter The Name Of Slab On Grade(SG-1,SG1,..etc.)", "", "SG-")
Range("E28").Value = X
Range("B2").Select
End Sub
Private Sub CommandButton2_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("Slab").Select
Form4.Show
X = InputBox("Enter The Name Of Slab(S-1,S1,..etc.)", "", "S-")
Range("B27").Value = X
Range("B2").Select
End Sub
Private Sub CommandButton3_Click()
Unload Me
Form2.Show
End Sub

| 125

FORM4

| 126

Private Sub CommandButton1_Click()


Unload Me
ActiveWindow.Zoom = 100
End Sub
Private Sub CommandButton2_Click()
Unload Me
ActiveWindow.Zoom = 129
End Sub
Private Sub CommandButton3_Click()
Unload Me
ActiveWindow.Zoom = 170
End Sub

FORM6

| 127

Private Sub CommandButton1_Click()


Unload Me
Sheets("Criteria").Range("c3").Value = TextBox1.Text
Sheets("Criteria").Range("c4").Value = TextBox2.Text
Sheets("Criteria").Range("c5").Value = TextBox3.Text
Sheets("Criteria").Range("h3").Value = TextBox4.Text
Sheets("Criteria").Range("h4").Value = TextBox5.Text
End Sub

| 128

FORM7

| 129

Private Sub CommandButton1_Click()


Unload Me
Application.Run macro:="Q"
End Sub
Private Sub CommandButton2_Click()
Unload Me
Form2.Show
End Sub

FORM8

| 130

Private Sub CommandButton1_Click()


Unload Me
Application.Run macro:="SCREEN1"
Sheets("Stair").Select
Sheets("Stair").ScrollArea = "a2:j33"
Form4.Show
ActiveSheet.PageSetup.PrintArea = "$A$2:$J$33"
X = InputBox("Enter The Name Of Stair(ST-1,ST1,..etc.)", "", "ST-")
Range("e32").Value = X
Range("B2").Select
End Sub
Private Sub CommandButton2_Click()
Unload Me
Application.Run macro:="SCREEN1"
Sheets("Stair").Select
Sheets("Stair").ScrollArea = "a35:j49"

| 131

ActiveSheet.PageSetup.PrintArea = "$A$35:$J$49"
Form4.Show
b = InputBox("Enter The Name Of Stair(ST-1,ST1,..etc.)", "", "ST-")
Range("E49").Value = b
Range("H40").Select
End Sub
Private Sub CommandButton3_Click()
Unload Me
Form2.Show
End Sub

FORM9

| 132

Private Sub CommandButton1_Click()


Unload Me
Application.Run macro:="SCREEN1"
Sheets("Spead Footing").Select
Form4.Show
X = InputBox("Enter The Name Of Spread Footing(F-1,F1,..etc.)", "", "F-")
Range("e8").Value = X
Range("B2").Select
End Sub

Private Sub CommandButton2_Click()


Unload Me
Sheets("Found").Select
Application.Run macro:="SCREEN1"
Form4.Show
X = InputBox("Enter The Name Of Strap Footing(F-1,F1,..etc.)", "",
"F-")

| 133

Range("e45").Value = X
Range("B2").Select
End Sub

Private Sub CommandButton3_Click()


Unload Me
Form2.Show
End Sub

FORM10

| 134

Private Sub CommandButton1_Click()


Unload Me
Application.Run macro:="SCREEN1"
Sheets("Beam").Select
End Sub

| 135

FORM11

| 136

Private Sub CommandButton1_Click()


Unload Me
Application.Run macro:="SCREEN1"
Form2.Show
End Sub

3. SOURCE CODE (VB SCRIPT) SHEET


SHEET Criteria

Private Sub Worksheet_SelectionChange(ByVal Target As Range)


ScrollArea = "A2:j33"
End Sub

Excel

| 137

SHEET Ground Slab(SG)

Private Sub Worksheet_SelectionChange(ByVal Target As Range)


ScrollArea = "A2:j33"
End Sub

| 138

SHEET Slab

Private Sub Worksheet_SelectionChange(ByVal Target As Range)


ScrollArea = "A2:j33"
End Sub

| 139

SHEET Stair

Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)


If Range("D8").Value = 1 Then
Sheets("Stair").Shapes("Picture 13583").Visible = 1
'Sheets("Stair").Shapes("Group 545").Visible = 0
'Else
'Sheets("Stair").Shapes("Group 522").Visible = 0
'Sheets("Stair").Shapes("Group 545").Visible = 1
End If
End Sub

| 140

SHEET Beam

Private Sub Worksheet_Calculate()


If Range("I15").Value = 1 Then
Sheets("Beam").Shapes("Group 2997").Visible = 0
Else
Sheets("Beam").Shapes("Group 2997").Visible = 1
End If
End Sub

| 141

SHEET Column

Private Sub Worksheet_Calculate()


If Range("D10").Value = 3 Then
Sheets("Column").Shapes("Group 5486").Visible = 1
Sheets("Column").Shapes("Group 5487").Visible = 0
Else
Sheets("Column").Shapes("Group 5486").Visible = 0
Sheets("Column").Shapes("Group 5487").Visible = 1
End If
End Sub

| 142

SHEET Spread Footing

Private Sub Worksheet_SelectionChange(ByVal Target As Range)


ScrollArea = "a2:j48"
End Sub

| 143

SHEET Mix

Private Sub Worksheet_SelectionChange(ByVal Target As Range)


ScrollArea = "b3:j61"
End Sub

| 144

SHEET Mesh

Private Sub Worksheet_SelectionChange(ByVal Target As Range)


ScrollArea = "b2:K24"
End Sub

| 145

SHEET Prefab Slab

Private Sub Worksheet_SelectionChange(ByVal Target As Range)


ScrollArea = "A2:j48"
End Sub

| 146

SHEET Lcolumn

Private Sub Worksheet_SelectionChange(ByVal Target As Range)


ScrollArea = "B1:U18"
End Sub

| 147

SHEET Bracket

Private Sub Worksheet_SelectionChange(ByVal Target As Range)


ScrollArea = "a2:j33"
End Sub

| 148

SHEET Pile

Private Sub Worksheet_Calculate()


If Range("E49").Value <> "" And Range("e49").Value <> 0 Then
Sheets("Pile").Shapes("Group 378").Visible = 1
Range("g41").Value = "Dowel bars"
Else
Sheets("Pile").Shapes("Group 378").Visible = 0
Range("g41").Value = ""
End If
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
If Range("b66").Value = 1 Then
'Sheets("Pile").Shapes("Picture 8094").Visible = 1
'Sheets("Pile").Shapes("Freeform 479").Visible = 0
Else
'Sheets("Pile").Shapes("Picture 8094").Visible = 0
'Sheets("Pile").Shapes("Freeform 479").Visible = 1
End If

| 149

If Range("b67").Value = 1 Then
'Sheets("Pile").Shapes("Picture 8095").Visible = 1
'Sheets("Pile").Shapes("Group 481").Visible = 0
Else
'Sheets("Pile").Shapes("Picture 8095").Visible = 0
'Sheets("Pile").Shapes("Group 481").Visible = 1
End If
End Sub

SHEET Hileys

Private Sub Worksheet_SelectionChange(ByVal Target As Range)


ScrollArea = "A2:J32"
End Sub

| 150

SHEET Tanks of Water

Private Sub Worksheet_SelectionChange(ByVal Target As Range)


ScrollArea = "a2:j29"
End Sub

| 151

SHEET Retain

Private Sub Worksheet_SelectionChange(ByVal Target As Range)


ScrollArea = "a2:j33"
End Sub

| 152

SHEET Grating

Private Sub Worksheet_SelectionChange(ByVal Target As Range)


ScrollArea = "a1:j29"
End Sub

| 153

SHEET Grating

Private Sub Worksheet_SelectionChange(ByVal Target As Range)


ScrollArea = "b1:l76"
End Sub

| 154

SHEET Found

Private Sub Worksheet_SelectionChange(ByVal Target As Range)


ScrollArea = "A2:J55"
End Sub

| 155

SHEET Analysis

Private Sub Worksheet_SelectionChange(ByVal Target As Range)


ScrollArea = "f2:q61"
End Sub

| 156

SHEET General

Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)


ScrollArea = "A3:o38"
End Sub

1. Excel + VBA


2. Excel Microsoft Office 2007
3. ( )
( CD ROM)
4. Excel
( CD ROM)


NEO RC DESIGN V5

| 158

| 159

| 160

| 161

| 162

| 163

| 164

| 165

| 166

| 167

| 168

| 169

You might also like