{"text_format":"1","workbook":"xlsx","n_sheets":1,"sheets":["UDF"],"not_rendered":{"charts":1,"images":0,"macros":1,"external_links":0,"defined_names":0,"comments":0,"pivot_tables":0},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":0,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900"}

{"sheet":"UDF","index":0,"n_rows":21,"n_cols":14,"rows_kept":21,"cut":false,"hidden":false,"merged":[]}
["2017-01-30",null,"User defined function",null,null,"Quasi-tutorial",null,null,"Act here:",null,null,null,10,"*"]
[null,"A function, called SINSQ,  to calculate Sin2(x)",null,null,null,null,null,null,null,null,null,null,null,"*"]
[null,null,null,null,null,null,"Dx =",{"$f":"$M$1/125","v":0.08},null,null,null,null,null,"*"]
["1) Go to \"Developer\". If it does not appear, see \"No Developer\".",null,null,null,null,null,"x","sin2(x)",null,null,null,null,null,"*"]
["2) Click \"Visual Basic\"",null,null,null,null,null,0,{"$f":"SinSq(G5)","v":0},null,null,null,null,null,"*"]
["3) Click \"Insert > Module\"",null,null,null,null,null,{"$f":"$G5+$H$3","v":0.08},{"$f":"SinSq(G6)","v":6.3863583121865266E-3},null,null,null,null,null,"*"]
["1+2+3) Or press Alt-F11",null,null,null,null,null,{"$f":"$G6+$H$3","v":0.16},2.5382290958779571E-2,null,null,null,null,null,"*"]
["4) Write your function",null,null,"Example",null,null,0.24,5.6502538610357901E-2,null,null,null,null,null,"*"]
["Public Function Add(number1 As Double, number2 As Double)",null,null,null,null,null,0.32,9.8952121057853684E-2,null,null,null,null,null,"*"]
["Add = number1 + number2",null,null,null,null,null,0.4,0.15164664532641731,null,null,null,null,null,"*"]
["End Function",null,null,null,null,null,0.48000000000000004,0.21324000696377168,null,null,null,null,null,"*"]
["5) Go to \"File > Close and return to workbook\"",null,null,null,null,null,0.56000000000000005,0.28215877686164392,null,null,null,null,null,"*"]
["6) Use the function normally (Insert Function > User Defined ...)",null,null,null,null,null,0.64,0.3566423951840223,null,null,null,null,null,"*"]
["7) The file must be saved as '.xlsm' (macro-enabled workbook)",null,null,null,null,null,0.72,0.43478814563092716,null,null,null,null,null,"*"]
[null,"Warning -- This type may raise security doubts.",null,null,null,null,0.79999999999999993,0.51459976115064421,null,null,null,null,null,"*"]
[null,null,null,null,null,null,0.87999999999999989,0.59403841944643987,null,null,null,null,null,"*"]
["No Developer",null,null,null,null,null,0.95999999999999985,0.67107482557544895,null,null,null,null,null,"*"]
["a) Go to \"File > Options > Customize Ribbon\"",null,null,null,null,null,1.0399999999999998,0.74374105116717948,null,null,null,null,null,"*"]
["b) Click \"Developer\" (on the right-h. panel)",null,null,null,null,null,1.1199999999999999,0.81018080600633979,null,null,null,null,null,"*"]
[null,null,null,null,null,null,1.2,0.86869685777062267,null,null,null,null,null,"*"]
[null,null,null,null,null,null,null,null,null,null,null,null,null,"*"]