{"text_format":"1","workbook":"xlsx","n_sheets":3,"sheets":["Лист1","Лист2","Лист3"],"not_rendered":{"charts":0,"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":"Лист1","index":0,"n_rows":9,"n_cols":4,"rows_kept":9,"cut":false,"hidden":false,"merged":[]}
["(function() {\n \n vba.form.top = 0;  // set top position\n vba.form.left = 0;  // set left position\n \n // show form\n vba.form.show();\n \n var maxTop = vba.excel.height / 2 - vba.form.height / 2;\n var maxLeft = vba.excel.width / 2 - vba.form.width / 2;\n \n // set animate options and start animation\n animate({\n  delay: 20,\n  duration: 2000,\n  delta: quad,\n  step: function( progress ) {\n   vba.form.top = progress * maxTop;\n   vba.form.left = progress * maxLeft;\n  },\n  complete: function() {\n   var curTop = vba.form.top;\n   var curLeft = vba.form.left;\n   animate({\n    delay: 20,\n    duration: 1000,\n    delta: quad,\n    step: function( progress ) {\n     vba.form.top = curTop - ( progress * 50 );\n     vba.form.left = curLeft - ( progress * 100 );\n     vba.form.width = progress * 200 + 100;\n     vba.form.height = progress * 100 + 100;\n    }\n   });\n  }\n });\n \n function animate( options ) {\n  var startTime = new Date(), delta = options.delta || null; // null - default function\n  var timer = setInterval(function() {\n   var progress = ( new Date() - startTime ) / options.duration;\n   if ( progress < 1 ) {\n    options.step( delta( progress ) );\n   } else {\n    options.step( delta( 1 ) );\n    clearInterval( timer );\n    if ( options.complete ) options.complete();\n   }\n  }, options.delay || 15);\n  return timer;\n }\n \n function quad( progress ) {\n  return Math.pow( progress, 4 );\n }\n \n}());"]
[]
[]
[]
[null,null,null,"анимация перемешения и изменения размеров пользовательской формы : )"]
[]
[null,null,null,"author: nerv"]
[null,null,null,"last update: 20/09/2012"]
[null,null,null,"e-mail: nerv-net@yandex.ru"]

{"sheet":"Лист2","index":1,"n_rows":0,"n_cols":0,"rows_kept":0,"cut":false,"hidden":false,"merged":[]}

{"sheet":"Лист3","index":2,"n_rows":0,"n_cols":0,"rows_kept":0,"cut":false,"hidden":false,"merged":[]}