home *** CD-ROM | disk | FTP | other *** search
/ On Hand / On_Hand_From_Softbank_1994_Release_2_Disc_2_1994.iso / 00003 / s / inflatem.xl$ / inflatem.bin (.txt)
Excel Spreadsheet  |  1993-01-01  |  48KB  |  1,263 lines

  1. Sheet: 
  2. (0, 1)        Control Macros
  3. (0, 3)        
  4. (0, 5)        Subroutine Macros
  5. (0, 7)        
  6. (0, 16)        
  7. (0, 18)        
  8. (0, 20)        Command table
  9. (1, 0)        Names
  10. (1, 1)        Formulas
  11. (1, 2)        Comments
  12. (1, 3)        
  13. (1, 4)        Names
  14. (1, 5)        Formulas
  15. (1, 6)        Comments
  16. (1, 7)        
  17. (1, 8)        Item
  18. (1, 9)        x
  19. (1, 10)        y
  20. (1, 11)        width
  21. (1, 12)        hgt
  22. (1, 13)        Text
  23. (1, 14)        Init/Result
  24. (1, 15)        Lists
  25. (1, 16)        
  26. (1, 17)        Names
  27. (1, 18)        Macro Names
  28. (1, 19)        Keys
  29. (1, 20)        Status Bar Text
  30. (1, 21)        Custom Help Topics
  31. (2, 1)        
  32. (2, 2)        
  33. (2, 3)        
  34. (2, 5)        
  35. (2, 6)        
  36. (2, 7)        
  37. (2, 8)        
  38. (2, 9)        
  39. (2, 10)        
  40. (2, 11)        
  41. (2, 12)        
  42. (2, 13)        
  43. (2, 14)        
  44. (2, 15)        
  45. (2, 16)        
  46. (2, 17)        -
  47. (2, 18)        
  48. (2, 19)        
  49. (2, 20)        
  50. (2, 21)        
  51. (3, 0)        Prefix: Setup
  52. (3, 1)        Setup()
  53. (3, 2)        
  54. (3, 4)        Prefix: ExFile
  55. (3, 5)        Extract_Filename()
  56. (3, 6)        Return last piece of ExFile_Path
  57. (3, 17)        New &Inflation Worksheet
  58. (3, 18)        Setup
  59. (3, 19)        
  60. (3, 20)        Create a new resource rate inflation worksheet
  61. (3, 21)        
  62. (4, 0)        
  63. (4, 2)        "
  64. (4, 4)        
  65. (4, 5)        
  66. (4, 6)        
  67. (4, 17)        Ca&lculate Rates...
  68. (4, 18)        AutoCalculate
  69. (4, 20)        Calculate inflated resource rates
  70. (5, 0)        qq
  71. (5, 2)        "; "
  72. (5, 4)        
  73. (5, 6)        Complete path of file
  74. (5, 17)        &Attach Rate Tables
  75. (5, 18)        AttachTablesToRes
  76. (5, 20)        Attach a worksheet rate table object to each resource
  77. (6, 0)        
  78. (6, 1)        
  79. (6, 2)        
  80. (6, 4)        ExFile_PathChar
  81. (6, 6)        Character b/w directories
  82. (6, 13)        AutocalcDB1
  83. (6, 17)        Calculate &Inflated Costs
  84. (6, 18)        CalcInflFactors
  85. (6, 20)        Calculate inflated costs and add them to the project
  86. (7, 0)        
  87. (7, 2)        Speed up execution
  88. (7, 4)        
  89. (7, 5)        
  90. (7, 6)        
  91. (7, 8)        
  92. (7, 9)        
  93. (7, 10)        
  94. (7, 11)        294
  95. (7, 12)        228
  96. (7, 13)        Auto-Calculate
  97. (7, 14)        
  98. (7, 15)        AutocalcDB1_Period
  99. (7, 17)        Restore Ori&ginal Costs
  100. (7, 18)        RestoreOrigCosts
  101. (7, 20)        Restore project Fixed Cost values to pre-inflated state
  102. (8, 0)        Setup_SysChnl
  103. (8, 2)        
  104. (8, 4)        ExFile_Replace
  105. (8, 6)        Replace up through first path character
  106. (8, 8)        14
  107. (8, 9)        11
  108. (8, 10)        4
  109. (8, 11)        167
  110. (8, 12)        68
  111. (8, 13)        Fields to calculate
  112. (8, 14)        
  113. (8, 15)        week(s)
  114. (9, 0)        
  115. (9, 2)        Change Microsoft Project list separator to comma
  116. (9, 4)        
  117. (9, 6)        If replace successful, remember result
  118. (9, 8)        13
  119. (9, 9)        
  120. (9, 10)        
  121. (9, 11)        
  122. (9, 12)        
  123. (9, 13)        S&tandard Rate
  124. (9, 14)        TRUE
  125. (9, 15)        month(s)
  126. (10, 0)        Setup_ProjectName
  127. (10, 2)        Setup sheet for current project
  128. (10, 4)        
  129. (10, 6)        Do it again until not successful
  130. (10, 8)        13
  131. (10, 9)        
  132. (10, 10)        
  133. (10, 11)        
  134. (10, 12)        
  135. (10, 13)        O&vertime Rate
  136. (10, 14)        FALSE
  137. (10, 15)        quarter(s)
  138. (11, 0)        Setup_DataChnl
  139. (11, 2)        Start DDE conversation with Microsoft Project
  140. (11, 4)        
  141. (11, 5)        
  142. (11, 6)        
  143. (11, 8)        13
  144. (11, 9)        
  145. (11, 10)        
  146. (11, 11)        
  147. (11, 12)        
  148. (11, 13)        &Cost per Use
  149. (11, 14)        FALSE
  150. (11, 15)        year(s)
  151. (12, 0)        Setup_NumRes
  152. (12, 2)        Make sure there is at least one resource
  153. (12, 4)        ExFile_Done
  154. (12, 6)        Filename with no path information
  155. (12, 8)        14
  156. (12, 9)        11
  157. (12, 10)        81
  158. (12, 11)        269
  159. (12, 12)        38
  160. (12, 13)        Increase by
  161. (12, 14)        
  162. (13, 0)        
  163. (13, 2)        If not, don't create worksheet
  164. (13, 4)        
  165. (13, 5)        
  166. (13, 6)        
  167. (13, 8)        8
  168. (13, 9)        20
  169. (13, 10)        96
  170. (13, 11)        55
  171. (13, 12)        
  172. (13, 13)        AutocalcDB1_Rate
  173. (13, 14)        1
  174. (13, 15)        AutocalcDB1_HowOften
  175. (14, 0)        
  176. (14, 2)        Turn redraw back on for alert
  177. (14, 4)        Prefix: Inf
  178. (14, 5)        Inflate(Inf_Rate, Inf_Type, Inf_Count)
  179. (14, 6)        
  180. (14, 8)        21
  181. (14, 9)        82
  182. (14, 10)        96
  183. (14, 11)        189
  184. (14, 12)        40
  185. (14, 13)        AutocalcDB1_HowOften
  186. (14, 14)        3
  187. (14, 15)        percent annually
  188. (15, 0)        
  189. (15, 2)        
  190. (15, 4)        
  191. (15, 5)        
  192. (15, 6)        
  193. (15, 8)        5
  194. (15, 9)        10
  195. (15, 10)        127
  196. (15, 11)        
  197. (15, 12)        
  198. (15, 13)        1 period is
  199. (15, 14)        
  200. (15, 15)        percent per period
  201. (16, 0)        
  202. (16, 2)        
  203. (16, 4)        
  204. (16, 6)        Rate of inflation
  205. (16, 8)        7
  206. (16, 9)        94
  207. (16, 10)        124
  208. (16, 11)        41
  209. (16, 12)        
  210. (16, 13)        AutocalcDB1_Count
  211. (16, 14)        2
  212. (16, 15)        units per period
  213. (17, 0)        
  214. (17, 2)        
  215. (17, 4)        
  216. (17, 6)        Type of inflation
  217. (17, 8)        21
  218. (17, 9)        142
  219. (17, 10)        124
  220. (17, 11)        130
  221. (17, 12)        50
  222. (17, 13)        AutocalcDB1_Period
  223. (17, 14)        2
  224. (18, 0)        
  225. (18, 1)        
  226. (18, 2)        
  227. (18, 4)        
  228. (18, 6)        How many periods to calculate
  229. (18, 8)        5
  230. (18, 9)        10
  231. (18, 10)        147
  232. (18, 11)        
  233. (18, 12)        
  234. (18, 13)        Calculate rates for
  235. (18, 14)        
  236. (19, 0)        
  237. (19, 2)        Get the path to open template sheet
  238. (19, 4)        Inf_Weeks
  239. (19, 6)        Weeks per year (default)
  240. (19, 8)        7
  241. (19, 9)        156
  242. (19, 10)        144
  243. (19, 11)        41
  244. (19, 12)        
  245. (19, 13)        AutocalcDB1_HowMany
  246. (19, 14)        3
  247. (20, 0)        
  248. (20, 2)        Turn redraw back on for any OPEN() alerts
  249. (20, 4)        
  250. (20, 5)        
  251. (20, 6)        
  252. (20, 8)        5
  253. (20, 9)        203
  254. (20, 10)        147
  255. (20, 11)        
  256. (20, 12)        
  257. (20, 13)        periods
  258. (20, 14)        
  259. (21, 0)        
  260. (21, 2)        Start a new worksheet from the template
  261. (21, 4)        
  262. (21, 6)        If it's an annual percent...
  263. (21, 8)        14
  264. (21, 9)        11
  265. (21, 10)        171
  266. (21, 11)        269
  267. (21, 12)        51
  268. (21, 13)        Calculate fields for
  269. (21, 14)        
  270. (22, 0)        
  271. (22, 2)        Speed up execution
  272. (22, 4)        Inf_NPerYear
  273. (22, 6)        Change the rate appropriately
  274. (22, 8)        11
  275. (22, 9)        
  276. (22, 10)        
  277. (22, 11)        
  278. (22, 12)        
  279. (22, 13)        
  280. (22, 14)        1
  281. (23, 0)        
  282. (23, 2)        Microsoft Project filename with .XLS extension
  283. (23, 4)        
  284. (23, 6)        Calculate the periodic rate
  285. (23, 8)        12
  286. (23, 9)        
  287. (23, 10)        
  288. (23, 11)        
  289. (23, 12)        
  290. (23, 13)        &All resources on worksheet
  291. (23, 14)        
  292. (24, 0)        
  293. (24, 2)        Save the sheet with the new name
  294. (24, 4)        
  295. (24, 6)        Set the operation for a relative change
  296. (24, 8)        12
  297. (24, 9)        
  298. (24, 10)        
  299. (24, 11)        
  300. (24, 12)        
  301. (24, 13)        &Selected resource
  302. (24, 14)        
  303. (25, 0)        Setup_Resources
  304. (25, 2)        Request info on all resources
  305. (25, 4)        
  306. (25, 6)        If it's a periodic percent...
  307. (25, 8)        1
  308. (25, 9)        193
  309. (25, 10)        9
  310. (25, 11)        88
  311. (25, 12)        
  312. (25, 13)        OK
  313. (25, 14)        
  314. (26, 0)        
  315. (26, 1)        
  316. (26, 2)        
  317. (26, 4)        
  318. (26, 6)        Change the rate appropriately
  319. (26, 8)        2
  320. (26, 9)        193
  321. (26, 10)        33
  322. (26, 11)        88
  323. (26, 12)        
  324. (26, 13)        Cancel
  325. (26, 14)        
  326. (27, 0)        
  327. (27, 2)        
  328. (27, 4)        
  329. (27, 6)        Set the operation for a relative change
  330. (27, 8)        
  331. (27, 9)        
  332. (27, 10)        
  333. (27, 11)        
  334. (27, 12)        
  335. (27, 13)        
  336. (27, 14)        
  337. (28, 0)        
  338. (28, 2)        Select cell to begin making tables
  339. (28, 4)        
  340. (28, 6)        Otherwise it's an absolute change...
  341. (28, 8)        
  342. (28, 9)        
  343. (28, 10)        
  344. (28, 11)        
  345. (28, 12)        
  346. (28, 13)        
  347. (28, 14)        
  348. (29, 0)        Setup_Loop
  349. (29, 2)        Loop through resources and create tables
  350. (29, 4)        
  351. (29, 6)        Set the operation for an absolute change
  352. (29, 8)        
  353. (29, 9)        
  354. (29, 10)        
  355. (29, 11)        
  356. (29, 12)        
  357. (29, 13)        
  358. (29, 14)        
  359. (30, 0)        
  360. (30, 2)        Resource Name
  361. (30, 4)        
  362. (30, 6)        
  363. (30, 8)        
  364. (30, 9)        
  365. (30, 10)        
  366. (30, 11)        
  367. (30, 12)        
  368. (30, 13)        
  369. (30, 14)        
  370. (31, 0)        
  371. (31, 2)        Resource Unique ID
  372. (31, 4)        
  373. (31, 5)        
  374. (31, 6)        
  375. (31, 8)        
  376. (31, 9)        
  377. (31, 10)        
  378. (31, 11)        
  379. (31, 12)        
  380. (31, 13)        
  381. (31, 14)        
  382. (32, 0)        
  383. (32, 2)        Column titles
  384. (32, 4)        
  385. (32, 6)        Fill in the appropriate formula
  386. (32, 8)        
  387. (32, 9)        
  388. (32, 10)        
  389. (32, 11)        
  390. (32, 12)        
  391. (32, 13)        
  392. (32, 14)        
  393. (33, 0)        
  394. (33, 2)        First effective date
  395. (33, 4)        
  396. (33, 5)        
  397. (33, 6)        
  398. (33, 8)        
  399. (33, 9)        
  400. (33, 10)        
  401. (33, 11)        
  402. (33, 12)        
  403. (33, 13)        
  404. (33, 14)        
  405. (34, 0)        
  406. (34, 2)        Mark end of calculation
  407. (34, 4)        
  408. (34, 6)        
  409. (34, 8)        
  410. (34, 9)        
  411. (34, 10)        
  412. (34, 11)        
  413. (34, 12)        
  414. (34, 13)        
  415. (34, 14)        
  416. (35, 0)        Setup_Std
  417. (35, 2)        Starting standard rate
  418. (35, 8)        
  419. (35, 9)        
  420. (35, 10)        
  421. (35, 11)        
  422. (35, 12)        
  423. (35, 13)        
  424. (35, 14)        
  425. (36, 0)        
  426. (36, 2)        Insert rate, truncating time period info
  427. (36, 4)        Prefix: SelRes
  428. (36, 5)        SelectCurRes()
  429. (36, 6)        Select name cell of resource the active cell is in
  430. (36, 8)        
  431. (36, 9)        
  432. (36, 10)        
  433. (36, 11)        
  434. (36, 12)        
  435. (36, 13)        
  436. (36, 14)        
  437. (37, 0)        Setup_Ovt
  438. (37, 2)        Starting overtime rate
  439. (37, 4)        SelRes_Row
  440. (37, 6)        Get the active row
  441. (37, 8)        
  442. (37, 9)        
  443. (37, 10)        
  444. (37, 11)        
  445. (37, 12)        
  446. (37, 13)        
  447. (37, 14)        
  448. (38, 0)        
  449. (38, 2)        Insert rate, truncating time period info
  450. (38, 4)        
  451. (38, 6)        Determine the closest row with a name
  452. (38, 8)        
  453. (38, 9)        
  454. (38, 10)        
  455. (38, 11)        
  456. (38, 12)        
  457. (38, 13)        
  458. (38, 14)        
  459. (39, 0)        
  460. (39, 2)        Starting cost per use
  461. (39, 4)        
  462. (39, 6)        
  463. (39, 8)        
  464. (39, 9)        
  465. (39, 10)        
  466. (39, 11)        
  467. (39, 12)        
  468. (39, 13)        
  469. (39, 14)        
  470. (40, 0)        
  471. (40, 2)        Move to next position
  472. (40, 4)        
  473. (40, 5)        
  474. (40, 6)        
  475. (40, 8)        
  476. (40, 9)        
  477. (40, 10)        
  478. (40, 11)        
  479. (40, 12)        
  480. (40, 13)        
  481. (40, 14)        
  482. (41, 0)        
  483. (41, 2)        
  484. (41, 4)        
  485. (41, 6)        
  486. (41, 8)        
  487. (41, 9)        
  488. (41, 10)        
  489. (41, 11)        
  490. (41, 12)        
  491. (41, 13)        
  492. (41, 14)        
  493. (42, 0)        
  494. (42, 1)        
  495. (42, 2)        
  496. (42, 4)        
  497. (43, 0)        
  498. (43, 2)        
  499. (43, 4)        Prefix: GetSep
  500. (43, 5)        GetListSeparator()
  501. (43, 6)        Remember old list separator and set it to a comma
  502. (44, 0)        
  503. (44, 2)        Get formatting info from template table
  504. (44, 4)        GetSep_SysChnl
  505. (44, 6)        Start DDE conversation with Microsoft Project
  506. (45, 0)        Setup_Loop2
  507. (45, 2)        Format each table appropriately
  508. (45, 4)        
  509. (45, 6)        Prepare MS Project to accept SEND.KEYS
  510. (46, 0)        
  511. (46, 2)        
  512. (46, 4)        
  513. (46, 6)        Copy list separator to the Clipboard
  514. (47, 0)        
  515. (47, 2)        
  516. (47, 4)        
  517. (47, 6)        
  518. (47, 13)        
  519. (47, 14)        
  520. (47, 15)        
  521. (48, 0)        
  522. (48, 2)        
  523. (48, 4)        GetSep_StartingCell
  524. (48, 6)        Remember cell selected now
  525. (48, 13)        
  526. (48, 14)        
  527. (48, 15)        
  528. (49, 0)        
  529. (49, 1)        
  530. (49, 2)        
  531. (49, 3)        
  532. (49, 4)        
  533. (49, 6)        Select cell for list separator
  534. (49, 7)        
  535. (49, 8)        
  536. (49, 9)        
  537. (49, 10)        
  538. (49, 11)        
  539. (49, 12)        
  540. (49, 16)        
  541. (49, 17)        
  542. (50, 0)        Setup_ProjInfo
  543. (50, 2)        Request general project information
  544. (50, 3)        
  545. (50, 4)        
  546. (50, 6)        Paste list separator into the active cell
  547. (50, 7)        
  548. (50, 8)        
  549. (50, 9)        
  550. (50, 10)        
  551. (50, 11)        
  552. (50, 12)        
  553. (50, 16)        
  554. (50, 17)        
  555. (51, 0)        
  556. (51, 2)        
  557. (51, 3)        
  558. (51, 4)        ListSep
  559. (51, 6)        Remember list separator
  560. (51, 7)        
  561. (51, 8)        
  562. (51, 9)        
  563. (51, 10)        
  564. (51, 11)        
  565. (51, 12)        
  566. (51, 16)        
  567. (51, 17)        
  568. (52, 0)        
  569. (52, 2)        Put in project name
  570. (52, 3)        
  571. (52, 4)        
  572. (52, 6)        Clear list separator cell
  573. (52, 7)        
  574. (52, 8)        
  575. (52, 9)        
  576. (52, 10)        
  577. (52, 11)        
  578. (52, 12)        
  579. (52, 16)        
  580. (52, 17)        
  581. (53, 0)        
  582. (53, 2)        Put in project start date
  583. (53, 3)        
  584. (53, 4)        
  585. (53, 6)        Set list separator to be a comma
  586. (53, 7)        
  587. (53, 8)        
  588. (53, 9)        
  589. (53, 10)        
  590. (53, 11)        
  591. (53, 12)        
  592. (53, 16)        
  593. (53, 17)        
  594. (54, 0)        
  595. (54, 2)        Put in project finish date
  596. (54, 3)        
  597. (54, 4)        
  598. (54, 6)        End DDE conversation
  599. (54, 7)        
  600. (54, 8)        
  601. (54, 9)        
  602. (54, 10)        
  603. (54, 11)        
  604. (54, 12)        
  605. (54, 13)        
  606. (54, 14)        
  607. (54, 15)        
  608. (54, 16)        
  609. (54, 17)        
  610. (55, 0)        
  611. (55, 2)        Put in project file name
  612. (55, 3)        
  613. (55, 4)        
  614. (55, 6)        Reset selection to pre-macro state
  615. (55, 7)        
  616. (55, 8)        
  617. (55, 9)        
  618. (55, 10)        
  619. (55, 11)        
  620. (55, 12)        
  621. (55, 13)        
  622. (55, 14)        
  623. (55, 15)        
  624. (55, 16)        
  625. (55, 17)        
  626. (56, 0)        
  627. (56, 2)        Save completed worksheet
  628. (56, 3)        
  629. (56, 4)        
  630. (56, 6)        
  631. (56, 7)        
  632. (56, 8)        
  633. (56, 9)        
  634. (56, 10)        
  635. (56, 11)        
  636. (56, 12)        
  637. (56, 13)        
  638. (56, 14)        
  639. (56, 15)        
  640. (56, 16)        
  641. (56, 17)        
  642. (57, 0)        
  643. (57, 1)        
  644. (57, 2)        
  645. (57, 3)        
  646. (57, 4)        
  647. (57, 5)        
  648. (57, 6)        
  649. (57, 7)        
  650. (57, 8)        
  651. (57, 9)        
  652. (57, 10)        
  653. (57, 11)        
  654. (57, 12)        
  655. (57, 13)        
  656. (57, 14)        
  657. (57, 15)        
  658. (57, 16)        
  659. (57, 17)        
  660. (58, 0)        Setup_Done
  661. (58, 2)        Close DDE data channel
  662. (58, 3)        
  663. (58, 4)        Prefix: RestSep
  664. (58, 5)        RestoreListSeparator()
  665. (58, 6)        Restore original list separator in MS Project
  666. (58, 7)        
  667. (58, 8)        
  668. (58, 9)        
  669. (58, 10)        
  670. (58, 11)        
  671. (58, 12)        
  672. (58, 13)        
  673. (58, 14)        
  674. (58, 15)        
  675. (58, 16)        
  676. (58, 17)        
  677. (59, 0)        
  678. (59, 2)        Close DDE System channel
  679. (59, 3)        
  680. (59, 4)        RestSep_SysChnl
  681. (59, 6)        Start DDE conversation with Microsoft Project
  682. (59, 7)        
  683. (59, 8)        
  684. (59, 9)        
  685. (59, 10)        
  686. (59, 11)        
  687. (59, 12)        
  688. (59, 13)        
  689. (59, 14)        
  690. (59, 15)        
  691. (59, 16)        
  692. (59, 17)        
  693. (60, 0)        
  694. (60, 2)        Restore MS Project list separator to pre-macro state
  695. (60, 3)        
  696. (60, 4)        
  697. (60, 6)        Restore list separator
  698. (60, 7)        
  699. (60, 8)        
  700. (60, 9)        
  701. (60, 10)        
  702. (60, 11)        
  703. (60, 12)        
  704. (60, 13)        
  705. (60, 14)        
  706. (60, 15)        
  707. (60, 16)        
  708. (60, 17)        
  709. (61, 0)        
  710. (61, 2)        
  711. (61, 3)        
  712. (61, 4)        
  713. (61, 6)        End DDE conversation
  714. (61, 7)        
  715. (61, 8)        
  716. (61, 9)        
  717. (61, 10)        
  718. (61, 11)        
  719. (61, 12)        
  720. (61, 13)        
  721. (61, 14)        
  722. (61, 15)        
  723. (61, 16)        
  724. (61, 17)        
  725. (62, 0)        
  726. (62, 1)        
  727. (62, 2)        
  728. (62, 3)        
  729. (62, 4)        
  730. (62, 6)        
  731. (62, 7)        
  732. (62, 8)        
  733. (62, 9)        
  734. (62, 10)        
  735. (62, 11)        
  736. (62, 12)        
  737. (62, 13)        
  738. (62, 14)        
  739. (62, 15)        
  740. (62, 16)        
  741. (62, 17)        
  742. (63, 0)        Prefix: Autocalc
  743. (63, 1)        AutoCalculate()
  744. (63, 2)        
  745. (63, 3)        
  746. (63, 4)        
  747. (63, 5)        
  748. (63, 6)        
  749. (63, 7)        
  750. (63, 8)        
  751. (63, 9)        
  752. (63, 10)        
  753. (63, 11)        
  754. (63, 12)        
  755. (63, 13)        
  756. (63, 14)        
  757. (63, 15)        
  758. (63, 16)        
  759. (63, 17)        
  760. (64, 0)        
  761. (64, 1)        
  762. (64, 2)        
  763. (64, 3)        
  764. (64, 4)        Prefix: VFO
  765. (64, 5)        ViewFileOpen()
  766. (64, 6)        Open the given view file
  767. (64, 7)        
  768. (64, 8)        
  769. (64, 9)        
  770. (64, 10)        
  771. (64, 11)        
  772. (64, 12)        
  773. (64, 13)        
  774. (64, 14)        
  775. (64, 15)        
  776. (64, 16)        
  777. (64, 17)        
  778. (65, 0)        
  779. (65, 2)        Speed up execution
  780. (65, 3)        
  781. (65, 4)        
  782. (65, 6)        Complete path of view file to open
  783. (65, 7)        
  784. (65, 8)        
  785. (65, 9)        
  786. (65, 10)        
  787. (65, 11)        
  788. (65, 12)        
  789. (65, 13)        
  790. (65, 14)        
  791. (65, 15)        
  792. (65, 16)        
  793. (65, 17)        
  794. (66, 0)        Autocalc_StartingCell
  795. (66, 2)        Remember cell selected now
  796. (66, 4)        
  797. (66, 6)        
  798. (67, 0)        
  799. (67, 2)        Display Calculate Rates dialog box
  800. (67, 4)        VFO_SysChnl
  801. (67, 6)        Start DDE conversation with Microsoft Project
  802. (68, 0)        
  803. (68, 2)        Do nothing if user cancelled
  804. (68, 4)        
  805. (68, 6)        Display message in status bar
  806. (69, 0)        
  807. (69, 1)        
  808. (69, 2)        
  809. (69, 4)        
  810. (69, 6)        Prepare MS Project to display merge dialog
  811. (70, 0)        Autocalc_YInc
  812. (70, 2)        Set the year increment
  813. (70, 4)        
  814. (70, 6)        Open view file with needed views and tables
  815. (71, 0)        Autocalc_MInc
  816. (71, 2)        Set the month increment
  817. (71, 4)        
  818. (71, 6)        Return to Microsoft Excel
  819. (72, 0)        Autocalc_DInc
  820. (72, 2)        Set the day increment (by weeks)
  821. (72, 4)        
  822. (72, 5)        
  823. (72, 6)        
  824. (73, 0)        
  825. (73, 1)        
  826. (73, 2)        
  827. (73, 4)        
  828. (73, 6)        End DDE conversation
  829. (74, 0)        
  830. (74, 2)        Select appropriate resource name
  831. (74, 4)        
  832. (74, 6)        Refresh screen
  833. (75, 0)        
  834. (75, 2)        
  835. (75, 4)        
  836. (75, 6)        
  837. (76, 0)        Autocalc_Loop1
  838. (76, 2)        Enter new inflation dates
  839. (76, 4)        
  840. (76, 6)        
  841. (77, 0)        
  842. (77, 2)        Mark END of inflated rates
  843. (78, 0)        
  844. (78, 1)        
  845. (78, 2)        
  846. (79, 0)        
  847. (79, 2)        Select first standard rate
  848. (80, 0)        
  849. (80, 2)        If calculating standard rates...
  850. (81, 0)        
  851. (81, 2)        Select first overtime rate
  852. (82, 0)        
  853. (82, 2)        If calculating overtime rates...
  854. (83, 0)        
  855. (83, 2)        Select first cost per use
  856. (84, 0)        
  857. (84, 2)        If calculating costs per use...
  858. (85, 0)        
  859. (85, 1)        
  860. (85, 2)        
  861. (86, 0)        
  862. (86, 2)        Return to name cell
  863. (87, 0)        
  864. (87, 2)        Go to next resource
  865. (88, 0)        
  866. (88, 2)        If ID cell is not empty, continue loop
  867. (89, 0)        
  868. (89, 1)        
  869. (89, 2)        
  870. (90, 0)        Autocalc_Done
  871. (90, 2)        Reset selection to pre-macro state
  872. (91, 0)        
  873. (91, 2)        
  874. (92, 0)        
  875. (92, 1)        
  876. (92, 2)        
  877. (93, 0)        Prefix: Calc
  878. (93, 1)        CalcInflFactors()
  879. (93, 2)        
  880. (94, 0)        cq
  881. (94, 2)        "
  882. (95, 0)        
  883. (95, 1)        
  884. (95, 2)        
  885. (96, 0)        Calc_StartingCell
  886. (96, 2)        Remember cell selected now
  887. (97, 0)        
  888. (97, 2)        
  889. (98, 0)        
  890. (98, 2)        Speed up execution
  891. (99, 0)        
  892. (99, 1)        
  893. (99, 2)        
  894. (100, 0)        
  895. (100, 2)        Display message in status bar
  896. (101, 0)        
  897. (101, 2)        Change Microsoft Project list separator to comma
  898. (102, 0)        
  899. (102, 2)        
  900. (103, 0)        Calc_FinDate
  901. (103, 2)        Project finish date
  902. (104, 0)        Calc_DataChnl
  903. (104, 2)        Start DDE conversation with MS Project
  904. (105, 0)        Calc_SysChnl
  905. (105, 2)        Start DDE conversation with MS Project
  906. (106, 0)        
  907. (106, 2)        Initialize to first resource's name cell
  908. (107, 0)        
  909. (107, 1)        
  910. (107, 2)        
  911. (108, 0)        
  912. (108, 2)        Get the path to open template sheet
  913. (109, 0)        
  914. (109, 2)        
  915. (110, 0)        
  916. (110, 2)        Set up task sheet/resource usage view
  917. (111, 0)        
  918. (111, 2)        Close bottom pane so SetField is faster
  919. (112, 0)        
  920. (112, 2)        
  921. (113, 0)        
  922. (113, 2)        
  923. (114, 0)        
  924. (114, 2)        
  925. (115, 0)        
  926. (115, 2)        Save Fixed Cost in Number5 field
  927. (116, 0)        
  928. (116, 2)        Set hours as work unit (same as rates on sheet)
  929. (117, 0)        
  930. (117, 2)        Set up task sheet/resource usage view
  931. (117, 4)        
  932. (117, 6)        
  933. (118, 0)        
  934. (118, 1)        
  935. (118, 2)        
  936. (119, 0)        Calc_ResLoop
  937. (119, 1)        Calc_ResLoop
  938. (119, 2)        Loop through resources with inflation info
  939. (119, 5)        
  940. (120, 0)        Calc_ResID
  941. (120, 2)        Unique ID of resource to calculate
  942. (121, 0)        Calc_ResName
  943. (121, 2)        Name of resource to calculate
  944. (122, 0)        Calc_ResCost
  945. (122, 2)        Base std rate of resource to calculate
  946. (123, 0)        
  947. (123, 1)        
  948. (123, 2)        
  949. (124, 0)        
  950. (124, 2)        Select first date
  951. (125, 0)        Calc_PeriodLoop
  952. (125, 2)        Loop through all entered rates for Calc_Res
  953. (126, 0)        Calc_Start
  954. (126, 2)        Start date of this period
  955. (127, 0)        
  956. (127, 2)        Do no calculations if no inflated rates
  957. (128, 0)        
  958. (128, 2)        Finish date of this period...
  959. (129, 0)        Calc_Finish
  960. (129, 2)        ...where END=later of project finish or Start+1 day
  961. (130, 0)        Calc_PerCost
  962. (130, 2)        Std rate of resource during this period
  963. (131, 0)        Calc_TaskList
  964. (131, 2)        Request array of tasks using resource
  965. (132, 0)        
  966. (132, 1)        
  967. (132, 2)        
  968. (133, 0)        Calc_NumTasks
  969. (133, 2)        The number of tasks to loop through
  970. (134, 0)        Calc_TaskLoop
  971. (134, 2)        Loop through all tasks in this period with
  972. (135, 0)        
  973. (135, 1)        
  974. (135, 2)        Calc_Res working on them
  975. (136, 0)        
  976. (136, 2)        Display message in status bar
  977. (137, 0)        
  978. (137, 2)        Select the first task...
  979. (138, 0)        
  980. (138, 2)        ...then find the current task
  981. (139, 0)        
  982. (139, 2)        Activate Resource Usage view
  983. (140, 0)        
  984. (140, 2)        Show usage information for the selected tasks only
  985. (141, 0)        
  986. (141, 2)        Select the current resource
  987. (142, 0)        
  988. (142, 2)        Copy work information
  989. (143, 0)        Calc_OldSel
  990. (143, 2)        Remember selection
  991. (144, 0)        
  992. (144, 2)        Select cell for start of work information
  993. (145, 0)        
  994. (145, 2)        Paste work into worksheet
  995. (146, 0)        Calc_WorkSum
  996. (146, 2)        Add up work
  997. (147, 0)        
  998. (147, 2)        Clear work from worksheet
  999. (148, 0)        
  1000. (148, 2)        Flash message bar
  1001. (149, 0)        
  1002. (149, 2)        Additional cost of work in this period
  1003. (150, 0)        
  1004. (150, 2)        Restore selection
  1005. (151, 0)        
  1006. (151, 2)        Activate task view
  1007. (152, 0)        
  1008. (152, 2)        Request the fixed cost of the task
  1009. (153, 0)        
  1010. (153, 2)        Existing fixed cost + inflated costs
  1011. (154, 0)        
  1012. (154, 2)        Poke the supplemented fixed cost
  1013. (155, 0)        
  1014. (155, 2)        
  1015. (156, 0)        
  1016. (156, 1)        
  1017. (156, 2)        
  1018. (157, 0)        
  1019. (157, 2)        Display message in status bar
  1020. (158, 0)        
  1021. (158, 2)        If not at end of rates, continue loop
  1022. (159, 0)        Calc_ResLoopDone
  1023. (159, 2)        Select this resource's name cell
  1024. (160, 0)        
  1025. (160, 2)        Select next resource's name cell
  1026. (161, 0)        
  1027. (161, 2)        If ID cell is not empty, continue loop
  1028. (162, 0)        
  1029. (162, 1)        
  1030. (162, 2)        
  1031. (163, 0)        Calc_Done
  1032. (163, 2)        Reset selection to pre-macro state
  1033. (164, 0)        
  1034. (164, 2)        Close bottom pane
  1035. (165, 0)        
  1036. (165, 2)        Restore status bar text
  1037. (166, 0)        
  1038. (166, 2)        Close DDE System channel
  1039. (167, 0)        
  1040. (167, 2)        Close DDE data channel
  1041. (168, 0)        
  1042. (168, 2)        Restore MS Project list separator to pre-macro state
  1043. (168, 8)        
  1044. (168, 9)        
  1045. (168, 10)        
  1046. (168, 11)        
  1047. (168, 12)        
  1048. (168, 13)        
  1049. (168, 14)        
  1050. (168, 15)        
  1051. (169, 0)        
  1052. (169, 2)        
  1053. (171, 0)        Prefix: Attach
  1054. (171, 1)        AttachTablesToRes()
  1055. (171, 2)        
  1056. (172, 0)        
  1057. (172, 2)        Speed up execution
  1058. (173, 0)        Attach_SysChnl
  1059. (173, 2)        
  1060. (174, 0)        Attach_StartingCell
  1061. (174, 2)        Remember cell selected now
  1062. (175, 0)        
  1063. (175, 2)        Change Microsoft Project list separator to comma
  1064. (176, 0)        
  1065. (176, 1)        
  1066. (176, 2)        
  1067. (177, 0)        
  1068. (177, 2)        Initialize loop
  1069. (178, 0)        
  1070. (178, 2)        
  1071. (178, 3)        
  1072. (178, 4)        
  1073. (178, 5)        
  1074. (178, 6)        
  1075. (178, 7)        
  1076. (178, 8)        
  1077. (178, 9)        
  1078. (178, 10)        
  1079. (178, 11)        
  1080. (178, 12)        
  1081. (178, 13)        
  1082. (178, 14)        
  1083. (178, 15)        
  1084. (178, 16)        
  1085. (178, 17)        
  1086. (178, 18)        
  1087. (178, 19)        
  1088. (178, 20)        
  1089. (178, 21)        
  1090. (179, 0)        
  1091. (179, 2)        Get the path to open template sheet
  1092. (179, 17)        
  1093. (179, 18)        
  1094. (179, 19)        
  1095. (179, 20)        
  1096. (179, 21)        
  1097. (180, 0)        
  1098. (180, 2)        
  1099. (181, 0)        
  1100. (181, 2)        Resource sheet over resource form
  1101. (182, 0)        
  1102. (182, 2)        
  1103. (183, 0)        
  1104. (183, 2)        Select resource sheet view
  1105. (184, 0)        
  1106. (184, 1)        
  1107. (184, 2)        
  1108. (185, 0)        Attach_Loop
  1109. (185, 1)        Attach_Loop
  1110. (185, 2)        
  1111. (186, 0)        
  1112. (186, 2)        Go to the first resource
  1113. (187, 0)        
  1114. (187, 2)        Find resource with correct Unique ID
  1115. (188, 0)        
  1116. (188, 2)        Select resource form view
  1117. (189, 0)        
  1118. (189, 2)        Copy information from worksheet
  1119. (190, 0)        Attach_FirstCell
  1120. (190, 2)        Prepare to make block selection
  1121. (191, 0)        
  1122. (191, 2)        Select "END" marker
  1123. (192, 0)        
  1124. (192, 2)        Select last rate in inflation chart
  1125. (193, 0)        
  1126. (193, 2)        Block select all of inflation chart
  1127. (194, 0)        
  1128. (194, 2)        Copy inflation chart
  1129. (195, 0)        
  1130. (195, 2)        Display message in status bar
  1131. (196, 0)        
  1132. (196, 2)        Select object viewer
  1133. (197, 0)        
  1134. (197, 2)        Attach the worksheet object
  1135. (198, 0)        
  1136. (198, 2)        Display status bar message
  1137. (199, 0)        
  1138. (199, 2)        Select the next resource name
  1139. (200, 0)        
  1140. (200, 2)        Select resource sheet pane
  1141. (201, 0)        
  1142. (201, 2)        If ID cell is not empty, continue loop
  1143. (202, 0)        
  1144. (202, 1)        
  1145. (202, 2)        
  1146. (203, 0)        
  1147. (203, 2)        Close DDE system channel
  1148. (204, 0)        
  1149. (204, 2)        Reset selection to pre-macro state
  1150. (205, 0)        
  1151. (205, 2)        Restore MS Project list separator to pre-macro state
  1152. (206, 0)        
  1153. (206, 2)        
  1154. (207, 0)        
  1155. (207, 1)        
  1156. (207, 2)        
  1157. (208, 0)        Prefix: AutoOpen
  1158. (208, 1)        Auto_Open()
  1159. (208, 2)        Add menu commands
  1160. (209, 0)        
  1161. (209, 2)        Don't do anything if already added
  1162. (210, 0)        
  1163. (210, 2)        Worksheet menu bar, full menus
  1164. (211, 0)        
  1165. (211, 2)        
  1166. (212, 0)        
  1167. (212, 2)        
  1168. (213, 0)        
  1169. (213, 2)        Worksheet menu bar, short menus
  1170. (214, 0)        
  1171. (214, 2)        
  1172. (215, 0)        
  1173. (215, 2)        
  1174. (216, 0)        
  1175. (216, 2)        Chart menu bar, full menus
  1176. (217, 0)        
  1177. (217, 2)        Chart menu bar, short menus
  1178. (218, 0)        
  1179. (218, 2)        Null menu bar
  1180. (219, 0)        
  1181. (219, 2)        Info window menu bar
  1182. (220, 0)        
  1183. (220, 2)        
  1184. (221, 0)        
  1185. (221, 1)        
  1186. (221, 2)        
  1187. (222, 0)        Prefix: AutoClose
  1188. (222, 1)        Auto_Close()
  1189. (222, 2)        Remove menu commands
  1190. (223, 0)        
  1191. (223, 2)        Don't do anything if not there
  1192. (224, 0)        
  1193. (224, 2)        Position one below menu separator
  1194. (225, 0)        
  1195. (225, 2)        Worksheet menu bar, full menus
  1196. (226, 0)        
  1197. (226, 2)        
  1198. (227, 0)        
  1199. (227, 2)        
  1200. (228, 0)        
  1201. (228, 2)        
  1202. (229, 0)        
  1203. (229, 2)        
  1204. (230, 0)        
  1205. (230, 2)        
  1206. (231, 0)        
  1207. (231, 2)        Position one below menu separator
  1208. (232, 0)        
  1209. (232, 2)        Worksheet menu bar, short menus
  1210. (233, 0)        
  1211. (233, 2)        
  1212. (234, 0)        
  1213. (234, 2)        
  1214. (235, 0)        
  1215. (235, 2)        
  1216. (236, 0)        
  1217. (236, 2)        
  1218. (237, 0)        
  1219. (237, 2)        
  1220. (238, 0)        
  1221. (238, 2)        Chart menu bar, full menus
  1222. (239, 0)        
  1223. (239, 2)        Chart menu bar, short menus
  1224. (240, 0)        
  1225. (240, 2)        Null menu bar
  1226. (241, 0)        
  1227. (241, 2)        Info window menu bar
  1228. (242, 0)        
  1229. (242, 2)        
  1230. (244, 0)        Prefix: Restore
  1231. (244, 1)        RestoreOrigCosts()
  1232. (244, 2)        Copy Number5 to FixedCost
  1233. (245, 0)        
  1234. (245, 2)        Speed up execution
  1235. (246, 0)        
  1236. (246, 2)        Change Microsoft Project list separator to comma
  1237. (247, 0)        Restore_StartingCell
  1238. (247, 2)        Remember cell selected now
  1239. (248, 0)        
  1240. (248, 2)        
  1241. (249, 0)        Restore_DataChnl
  1242. (249, 2)        Start DDE conversation with MS Project
  1243. (250, 0)        Restore_OrigFCs
  1244. (250, 2)        Request original fixed costs from Number5
  1245. (251, 0)        
  1246. (251, 2)        
  1247. (252, 0)        
  1248. (252, 2)        
  1249. (253, 0)        
  1250. (253, 2)        Put the array on a worksheet for POKE
  1251. (254, 0)        
  1252. (254, 2)        Poke original fixed costs into Fixed Cost
  1253. (255, 0)        
  1254. (255, 2)        Discard worksheet
  1255. (256, 0)        
  1256. (256, 2)        Close DDE data channel
  1257. (257, 0)        
  1258. (257, 2)        Reset selection to pre-macro state
  1259. (258, 0)        
  1260. (258, 2)        Restore MS Project list separator to pre-macro state
  1261. (259, 0)        
  1262. (259, 2)        
  1263.