home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Classic / MultimediaClassic.mdf / app_main / mssound.20 / disk3 / proof.xl_ / proof.xl (.txt)
Encoding:
Excel Spreadsheet  |  1993-10-17  |  125.7 KB  |  2,598 lines

  1. Sheet: 
  2. (0, 1)             //  Copyright ⌐ 1991-1993  Microsoft Corporation
  3. (0, 2)        
  4. (0, 3)        
  5. (0, 4)        Menus
  6. (0, 5)        
  7. (0, 6)        
  8. (0, 7)        
  9. (0, 8)        
  10. (0, 9)        
  11. (0, 10)        Globals
  12. (0, 11)        Globals
  13. (0, 12)             // These are the tables that map a display to a pronounce format.
  14. (0, 13)        Hidden_Lookup
  15. (0, 14)        m-d-yy
  16. (0, 15)        Hidden_Match
  17. (0, 16)        m/d/yy
  18. (0, 17)        Lookup_Table
  19. (0, 18)        
  20. (0, 19)        Match_Table
  21. (0, 20)        
  22. (0, 21)        Intl.Globals
  23. (0, 23)          //  This list of variables is quite extensive.  The reason that it is needed is that
  24. (1, 0)        greeting
  25. (1, 1)        greeting
  26. (1, 2)        
  27. (1, 3)        
  28. (1, 4)        
  29. (1, 5)        
  30. (1, 6)        
  31. (1, 7)        
  32. (1, 8)        
  33. (1, 9)        
  34. (1, 10)        
  35. (1, 11)        
  36. (1, 12)             // The cell addresses are fixed w/in the DLL code.  
  37. (1, 14)        m-yy
  38. (1, 16)        m/yy
  39. (1, 18)        
  40. (1, 21)        Intl.ExcelCountry
  41. (1, 23)          //  double quotes needed to be eliminated since Excel does not
  42. (2, 0)        
  43. (2, 1)        
  44. (2, 2)        Menu.RawProof
  45. (2, 3)        
  46. (2, 4)        
  47. (2, 5)        
  48. (2, 6)        
  49. (2, 7)        xlrdr.hlpxlrdr.hlp!3200
  50. (2, 8)        
  51. (2, 9)        
  52. (2, 10)        tts.MenuSet
  53. (2, 11)        
  54. (2, 12)             // Any change to Lookup_Table or Match_Table's addresses
  55. (2, 14)        mmm/yy
  56. (2, 16)        mmmm/yy
  57. (2, 18)        
  58. (2, 21)        Intl.WindowsCountry
  59. (2, 23)          //  localize within quotes.  International macro sheets could not be used
  60. (3, 0)        g.BoardInstalled
  61. (3, 1)        
  62. (3, 2)        Menu.RawOnEnter
  63. (3, 3)        
  64. (3, 4)        ProofOnEntrySwap
  65. (3, 5)        
  66. (3, 6)        
  67. (3, 7)        xlrdr.hlpxlrdr.hlp!3410
  68. (3, 8)        
  69. (3, 9)        
  70. (3, 10)        tts.ExecSkeleton
  71. (3, 11)        
  72. (3, 12)             // must also be changed in the DLL source code.
  73. (3, 14)        mmm/d/yyyy
  74. (3, 16)        mmmm/d/yyyy
  75. (3, 18)        
  76. (3, 21)        Intl.DecimalSep
  77. (3, 23)          //  because currency formatting information is lost (I.e. the currency type) if the language is not English.
  78. (4, 0)        g.IniDir
  79. (4, 1)        
  80. (4, 3)        -
  81. (4, 4)        
  82. (4, 5)        
  83. (4, 6)        
  84. (4, 7)        
  85. (4, 8)        
  86. (4, 9)        
  87. (4, 10)        tts.EntryChecked
  88. (4, 11)        
  89. (4, 12)        Lookup table for Display as/Pronounce as feature
  90. (4, 14)        mmm-d-yyyy
  91. (4, 16)        mmmm/d/yyyy
  92. (4, 18)        
  93. (4, 21)        Intl.1000Sep
  94. (4, 23)          //  In addition, several variables need to contain variables that are language specific, and these must be communicated to the underlying xlrdr.dll (delimiters, RUN, SELECT).
  95. (5, 0)        
  96. (5, 1)        
  97. (5, 2)        Menu.RawRange
  98. (5, 3)        
  99. (5, 4)        ProofRange
  100. (5, 5)        
  101. (5, 6)        
  102. (5, 7)        xlrdr.hlpxlrdr.hlp!3420
  103. (5, 8)        
  104. (5, 9)        
  105. (5, 10)        tts.WriteIniDir
  106. (5, 11)        
  107. (5, 12)        
  108. (5, 14)        mmm/d/yy
  109. (5, 16)        mmmm/d/yy
  110. (5, 18)        
  111. (5, 21)        Intl.ListSep
  112. (5, 23)          //  Also, xlrdr.dll needs to get the localized proof menus.
  113. (6, 0)        
  114. (6, 1)             // Disable cancelling of this macro.
  115. (6, 2)        Menu.RawStop
  116. (6, 3)        
  117. (6, 4)        Pause
  118. (6, 5)        
  119. (6, 6)        
  120. (6, 7)        xlrdr.hlpxlrdr.hlp!3420
  121. (6, 8)        
  122. (6, 9)        
  123. (6, 10)        tts.XlrdrDir
  124. (6, 11)        
  125. (6, 12)        
  126. (6, 14)        mmm-d-yy
  127. (6, 16)        mmmm/d/yy
  128. (6, 18)        
  129. (6, 21)        Intl.RowChar
  130. (7, 0)        
  131. (7, 2)        Menu.RawResume
  132. (7, 3)        
  133. (7, 4)        ResumeRange
  134. (7, 5)        
  135. (7, 6)        
  136. (7, 7)        xlrdr.hlpxlrdr.hlp!3430
  137. (7, 8)        
  138. (7, 9)        
  139. (7, 10)        tts.VerAbove3
  140. (7, 11)        
  141. (7, 12)        
  142. (7, 14)        jj-mmm-aa
  143. (7, 16)        "_FHACK"jj-mmm-aa
  144. (7, 18)        
  145. (7, 21)        Intl.ColChar
  146. (8, 0)        
  147. (8, 1)        
  148. (8, 3)        -
  149. (8, 4)        
  150. (8, 5)        
  151. (8, 6)        
  152. (8, 7)        
  153. (8, 8)        
  154. (8, 9)        
  155. (8, 10)        tts.HelpFileName
  156. (8, 11)        
  157. (8, 12)        
  158. (8, 14)        jj-mmm
  159. (8, 16)        "_FHACK"jj-mmm
  160. (8, 18)        
  161. (8, 21)        Intl.rowChar
  162. (9, 0)        
  163. (9, 1)             // Retrieve the name of executeable then create a skeleton command line.
  164. (9, 2)        Menu.RawVolume
  165. (9, 3)        
  166. (9, 4)        SetVolume
  167. (9, 5)        
  168. (9, 6)        
  169. (9, 7)        xlrdr.hlpxlrdr.hlp!3440
  170. (9, 8)        
  171. (9, 9)        
  172. (9, 10)        tts.HelpFileDir
  173. (9, 11)        
  174. (9, 12)        
  175. (9, 14)        j-mmm-aa
  176. (9, 16)        "_FHACK"j-mmm-aa
  177. (9, 18)        
  178. (9, 21)        Intl.colChar
  179. (10, 0)        
  180. (10, 2)        
  181. (10, 3)        -
  182. (10, 4)        
  183. (10, 5)        
  184. (10, 6)        
  185. (10, 7)        
  186. (10, 8)        
  187. (10, 9)        
  188. (10, 10)        tts.WinDir
  189. (10, 11)        
  190. (10, 12)        
  191. (10, 14)        j-mmm
  192. (10, 16)        "_FHACK"j-mmm
  193. (10, 18)        
  194. (10, 21)        Intl.LBracketChar
  195. (11, 0)        
  196. (11, 1)        
  197. (11, 2)        Menu.RawOptions
  198. (11, 3)        
  199. (11, 4)        TTSOptions
  200. (11, 5)        
  201. (11, 6)        
  202. (11, 7)        xlrdr.hlpxlrdr.hlp!3450
  203. (11, 8)        
  204. (11, 9)        
  205. (11, 10)        tts.IniDir
  206. (11, 11)        
  207. (11, 12)        
  208. (11, 14)        j.mmm.aa
  209. (11, 16)        "_FHACK"j.mmm.aa
  210. (11, 18)        
  211. (11, 21)        Intl.RBracketChar
  212. (12, 0)        
  213. (12, 2)        
  214. (12, 3)        
  215. (12, 4)        
  216. (12, 5)        
  217. (12, 6)        
  218. (12, 7)        
  219. (12, 8)        
  220. (12, 9)        
  221. (12, 10)        
  222. (12, 11)        
  223. (12, 12)        
  224. (12, 14)        j.mmm
  225. (12, 16)        "_FHACK"j.mmm
  226. (12, 18)        
  227. (12, 21)        Intl.LBraceChar
  228. (13, 0)        
  229. (13, 1)        
  230. (13, 2)        
  231. (13, 3)        
  232. (13, 4)        
  233. (13, 5)        
  234. (13, 6)        
  235. (13, 7)        
  236. (13, 8)        
  237. (13, 9)        
  238. (13, 10)        tts.DllsLoaded
  239. (13, 11)        
  240. (13, 12)        
  241. (13, 18)        
  242. (13, 21)        Intl.RBraceChar
  243. (14, 0)        
  244. (14, 2)        
  245. (14, 3)        
  246. (14, 4)        
  247. (14, 5)        
  248. (14, 6)        
  249. (14, 7)        
  250. (14, 8)        
  251. (14, 9)        
  252. (14, 10)        
  253. (14, 11)        
  254. (14, 12)        
  255. (14, 13)        
  256. (14, 18)        
  257. (14, 21)        Intl.ColSep
  258. (15, 0)        
  259. (15, 2)        
  260. (15, 9)        
  261. (15, 10)        tts.XlrdrName
  262. (15, 11)        
  263. (15, 12)        
  264. (15, 13)        
  265. (15, 18)        
  266. (15, 19)        
  267. (15, 21)        Intl.RowSep
  268. (16, 0)        
  269. (16, 2)        
  270. (16, 10)        tts.IniFileName
  271. (16, 11)        xlrdr.ini
  272. (16, 12)        
  273. (16, 13)        
  274. (16, 18)        
  275. (16, 19)        
  276. (16, 21)        Intl.ArraySep
  277. (17, 0)        
  278. (17, 2)        
  279. (17, 10)        tts.AltIniFileName
  280. (17, 11)        sndsys.ini
  281. (17, 12)        
  282. (17, 13)        
  283. (17, 18)        
  284. (17, 19)        
  285. (17, 21)        Intl.DateSep
  286. (18, 0)        
  287. (18, 2)        
  288. (18, 10)        tts.XlrdrRegistry
  289. (18, 11)        
  290. (18, 12)        
  291. (18, 13)        
  292. (18, 18)        
  293. (18, 21)        Intl.TimeSep
  294. (19, 0)        
  295. (19, 2)        
  296. (19, 10)        tts.DefExeName
  297. (19, 11)        xlrdr.dll
  298. (19, 12)        
  299. (19, 13)        
  300. (19, 18)        
  301. (19, 21)        Intl.YearDelim
  302. (20, 0)        
  303. (20, 2)        
  304. (20, 10)        tts.Volume
  305. (20, 11)        audcntrl.exe
  306. (20, 13)        
  307. (20, 18)        
  308. (20, 21)        Intl.MonthDelim
  309. (21, 0)        
  310. (21, 2)        
  311. (21, 9)         
  312. (21, 10)        
  313. (21, 11)        
  314. (21, 13)        
  315. (21, 18)        
  316. (21, 21)        Intl.DayDelim
  317. (22, 0)        
  318. (22, 1)        
  319. (22, 2)        
  320. (22, 10)        tts.MoveOnEntry
  321. (22, 11)        0
  322. (22, 13)        
  323. (22, 18)        
  324. (23, 0)        
  325. (23, 2)        
  326. (23, 10)        
  327. (23, 11)        
  328. (23, 13)        
  329. (23, 18)        
  330. (24, 0)        
  331. (24, 1)        
  332. (24, 2)        
  333. (24, 10)        
  334. (24, 11)        // the next three are for the add-in manager
  335. (24, 13)        
  336. (24, 18)        
  337. (25, 0)        
  338. (25, 1)             // Pass the following params, separated by a tilda
  339. (25, 2)        
  340. (25, 10)        __DemandLoad
  341. (25, 11)        FALSE
  342. (25, 18)        
  343. (25, 21)        Intl.Currency
  344. (26, 0)        
  345. (26, 1)             // Ini file name
  346. (26, 2)        
  347. (26, 10)        __ReadOnly
  348. (26, 11)        FALSE
  349. (26, 18)        
  350. (26, 21)        Intl.General
  351. (27, 0)        
  352. (27, 1)             // Address of cell which we call to place the formats from the dll into 
  353. (27, 2)        
  354. (27, 10)        __LongName
  355. (27, 11)        ProofReader for Excel
  356. (27, 18)        
  357. (27, 21)        Intl.CurDecCount
  358. (28, 0)        
  359. (28, 1)             // the format table here in the macro sheet.
  360. (28, 2)        
  361. (28, 10)        
  362. (28, 11)        
  363. (28, 18)        
  364. (28, 21)        Intl.NegCurFormatType
  365. (29, 0)        
  366. (29, 1)             // Address of cell which we call when proof range ends.
  367. (29, 2)        
  368. (30, 0)        
  369. (30, 1)             // Whether or not remote requests is turned on
  370. (30, 2)        
  371. (30, 10)        
  372. (31, 0)        
  373. (31, 1)        
  374. (31, 2)        
  375. (31, 10)        
  376. (32, 0)        
  377. (32, 1)             // Note:  These must be the last two parameters.
  378. (32, 2)        
  379. (32, 10)        
  380. (33, 0)        
  381. (33, 1)        
  382. (33, 2)        
  383. (33, 10)        
  384. (34, 0)        
  385. (34, 1)             // Macro sheet name 
  386. (34, 2)        
  387. (34, 10)        
  388. (35, 0)        
  389. (35, 1)             // Address of cell which we will use for advise loop and run the mapping 
  390. (35, 10)        
  391. (36, 0)        
  392. (36, 1)             // macro in R1C1 format.
  393. (36, 10)        
  394. (36, 21)        Intl.CurSymSpace
  395. (37, 0)        
  396. (37, 2)        
  397. (37, 10)        
  398. (37, 21)        Intl.CurSymInFront
  399. (38, 0)        
  400. (38, 1)        
  401. (38, 2)        
  402. (38, 10)        
  403. (38, 21)        Intl.MinusForNegCur
  404. (39, 0)        
  405. (39, 1)             // If board isn't installed, exit now.
  406. (39, 2)        
  407. (39, 10)        
  408. (39, 21)        Intl.TrailingCur0
  409. (40, 0)        
  410. (40, 2)        
  411. (40, 10)        
  412. (40, 21)        Intl.LeadingCur0
  413. (41, 0)        
  414. (41, 10)        
  415. (42, 0)        
  416. (42, 10)        
  417. (43, 0)        
  418. (43, 2)        
  419. (43, 10)        
  420. (44, 0)        
  421. (44, 1)        
  422. (44, 2)        
  423. (44, 10)        
  424. (45, 0)        
  425. (45, 2)        
  426. (45, 10)        
  427. (46, 0)        
  428. (46, 2)        
  429. (46, 10)        
  430. (47, 0)        
  431. (47, 2)        
  432. (47, 10)        
  433. (48, 0)        
  434. (48, 2)        
  435. (48, 10)        
  436. (48, 19)        
  437. (48, 20)        
  438. (49, 0)        
  439. (49, 2)        
  440. (49, 10)        
  441. (49, 19)        
  442. (49, 20)        
  443. (49, 21)           //   Other international settings
  444. (50, 0)        
  445. (50, 2)        
  446. (50, 10)        
  447. (50, 19)        
  448. (50, 20)        
  449. (50, 21)        Intl.DirDelim
  450. (50, 22)        \
  451. (51, 0)        
  452. (51, 10)        
  453. (51, 21)        Intl.SameDir
  454. (51, 22)        .
  455. (52, 0)        
  456. (52, 10)        
  457. (52, 21)        Intl.Equal
  458. (52, 22)        =
  459. (53, 0)        Auto_Close_TTS
  460. (53, 1)        Auto_Close_TTS
  461. (53, 2)        
  462. (53, 10)        
  463. (53, 21)        Intl.DLLDelimTilde
  464. (53, 22)        ~
  465. (54, 0)        
  466. (54, 1)        
  467. (54, 10)        
  468. (54, 21)        Intl.DLLDelimPercent
  469. (54, 22)        %
  470. (55, 0)        
  471. (55, 10)        
  472. (55, 21)        Intl.DLLDelimR
  473. (55, 22)        R
  474. (56, 0)        
  475. (56, 10)        
  476. (56, 21)        Intl.DLLDelimC
  477. (56, 22)        C
  478. (57, 0)        
  479. (57, 10)        
  480. (57, 21)        Intl.Space
  481. (57, 22)         
  482. (58, 0)        
  483. (58, 10)        
  484. (58, 21)        Intl.Comma
  485. (58, 22)        ,
  486. (59, 0)        
  487. (59, 1)              // If the directory path for the executeable has changed, save it in the ini file.
  488. (59, 2)        
  489. (59, 10)        
  490. (59, 21)        Intl.Quote
  491. (59, 22)        "
  492. (60, 0)        
  493. (60, 2)        
  494. (60, 10)        
  495. (60, 21)        Intl.SheetSep
  496. (60, 22)        !
  497. (61, 0)        
  498. (61, 2)        
  499. (61, 10)        
  500. (61, 14)        
  501. (61, 21)        Intl.BracketLeft
  502. (61, 22)        [
  503. (62, 0)        
  504. (62, 2)        
  505. (62, 10)        
  506. (62, 21)        Intl.BracketRight
  507. (62, 22)        ]
  508. (63, 0)        
  509. (63, 2)        
  510. (63, 10)        
  511. (64, 2)        
  512. (64, 21)        Intl.ParenLeft
  513. (64, 22)        (
  514. (65, 2)        
  515. (65, 21)        Intl.ParenRight
  516. (65, 22)        )
  517. (66, 0)        tts.Init
  518. (66, 1)        tts.Init()
  519. (66, 2)        
  520. (66, 10)        
  521. (66, 21)        Intl.Ampersand
  522. (66, 22)        &
  523. (67, 0)        
  524. (67, 1)        
  525. (67, 10)        
  526. (67, 21)        Intl.Number
  527. (67, 22)        #
  528. (68, 0)        
  529. (68, 10)        
  530. (68, 21)        Intl.0
  531. (68, 22)        0
  532. (69, 0)        
  533. (69, 2)        
  534. (69, 10)        
  535. (69, 21)        Intl.Dollar
  536. (69, 22)        $
  537. (70, 0)        
  538. (70, 2)        
  539. (70, 10)        
  540. (70, 21)        Intl.Sem
  541. (70, 22)        ;
  542. (71, 0)        
  543. (71, 2)        
  544. (71, 10)        
  545. (71, 21)        Intl.ParenWidth
  546. (71, 22)        _)
  547. (72, 2)        
  548. (72, 10)        
  549. (72, 21)        Intl.Minus
  550. (72, 22)        -
  551. (73, 2)        
  552. (73, 10)        
  553. (73, 21)        Intl.Empty
  554. (74, 0)        ParseCell
  555. (74, 1)        ParseCell
  556. (74, 2)        
  557. (74, 10)        
  558. (74, 21)           //   Hardcoded strings
  559. (75, 0)        
  560. (75, 1)        
  561. (75, 2)        
  562. (75, 10)        
  563. (75, 21)        String.empty
  564. (75, 23)          //  Directives to xlrdr.dll
  565. (76, 0)        
  566. (76, 1)             // Disable cancelling of this macro.
  567. (76, 2)        
  568. (76, 10)        
  569. (76, 21)        String._options
  570. (76, 22)        _options
  571. (77, 0)        
  572. (77, 2)        
  573. (77, 10)        
  574. (77, 21)        String._pause
  575. (77, 22)        _pause
  576. (78, 0)        
  577. (78, 1)        
  578. (78, 2)        
  579. (78, 10)        
  580. (78, 21)        String._param
  581. (78, 22)        _param
  582. (79, 0)        
  583. (79, 1)             // If invalid sheet, return
  584. (79, 2)        
  585. (79, 10)        
  586. (79, 21)        String._mapping
  587. (79, 22)        _mapping
  588. (80, 0)        
  589. (80, 10)        
  590. (80, 21)        String._numfmt
  591. (80, 22)        _numfmt
  592. (81, 0)        
  593. (81, 1)        
  594. (81, 10)        
  595. (81, 21)        String._init
  596. (81, 22)        _init
  597. (82, 0)        
  598. (82, 2)        
  599. (82, 10)        
  600. (82, 21)        String._exit
  601. (82, 22)        _exit
  602. (83, 0)        
  603. (83, 1)             // Checking for objects
  604. (83, 2)        
  605. (83, 10)        
  606. (83, 21)        String._range
  607. (83, 22)        _range
  608. (84, 0)        
  609. (84, 2)        
  610. (84, 10)        
  611. (84, 21)        String._setdelims
  612. (84, 22)        _setdelims
  613. (85, 0)        
  614. (85, 1)             // Get current list separator and reset tts.ExecSkeleton.  This
  615. (85, 10)        
  616. (85, 21)        String._setselect
  617. (85, 22)        _setselect
  618. (86, 0)        
  619. (86, 1)             // is in case the user has switched countries after this macro was loaded.
  620. (86, 10)        
  621. (86, 21)        String._setrun
  622. (86, 22)        _setrun
  623. (87, 0)        
  624. (87, 2)        
  625. (87, 10)        
  626. (87, 21)        String._getmenuProof
  627. (87, 22)        _getmenuProof
  628. (88, 0)        
  629. (88, 1)        
  630. (88, 2)        
  631. (88, 10)        
  632. (88, 21)        String._getmenuOnEnter
  633. (88, 22)        _getmenuOnEnter
  634. (89, 0)        
  635. (89, 1)           //  =ERROR(FALSE)
  636. (89, 2)        
  637. (89, 10)        
  638. (89, 21)        String._getmenuRange
  639. (89, 22)        _getmenuRange
  640. (90, 0)        
  641. (90, 1)           //  =FORMULA(MID(tts.ExecSkeleton,2,LEN(tts.ExecSkeleton)-7)&MapNewFormat(ACTIVE.CELL())&MID(tts.ExecSkeleton,LEN(tts.ExecSkeleton)-5,5),pc.ExecLine)
  642. (90, 2)        
  643. (90, 15)        
  644. (90, 21)        String._getmenuStop
  645. (90, 22)        _getmenuStop
  646. (91, 0)        
  647. (91, 1)           //  =ERROR(TRUE)
  648. (91, 2)        
  649. (91, 10)        
  650. (91, 21)        String._getmenuResume
  651. (91, 22)        _getmenuResume
  652. (92, 0)        
  653. (92, 2)        
  654. (92, 10)        
  655. (92, 16)        
  656. (92, 21)        String._getmenuVolume
  657. (92, 22)        _getmenuVolume
  658. (93, 0)        
  659. (93, 1)        
  660. (93, 2)        
  661. (93, 10)        
  662. (93, 19)        
  663. (93, 20)        
  664. (93, 21)        String._getmenuOptions
  665. (93, 22)        _getmenuOptions
  666. (94, 0)        pc.NonDate
  667. (94, 2)        
  668. (94, 10)        
  669. (94, 19)        
  670. (94, 20)        
  671. (94, 21)        String._menuitem
  672. (94, 22)        _menuitem
  673. (95, 0)        pc.Date
  674. (95, 2)        
  675. (95, 10)        
  676. (95, 21)        String._menudesc
  677. (95, 22)        _menudesc
  678. (95, 23)          //  Identifies hidden cell to xlrdr.dll
  679. (96, 0)        
  680. (96, 1)        
  681. (96, 2)        
  682. (96, 10)        
  683. (96, 21)        String._Hidden
  684. (96, 22)        _Hidden
  685. (96, 23)          //  default return value if xlrdr.dll location not found
  686. (97, 0)        
  687. (97, 1)           // If its a date, then use our remappe date format.  Else use our 
  688. (97, 2)        
  689. (97, 10)        
  690. (97, 21)        String.not_found
  691. (97, 22)        not_found
  692. (97, 23)          //  used in finding xlrdr.dll
  693. (98, 0)        
  694. (98, 1)           // original remapped format.
  695. (98, 2)        
  696. (98, 10)        
  697. (98, 21)        String.location
  698. (98, 22)        location
  699. (98, 23)          //  used in finding xlrdr.dll
  700. (99, 0)        
  701. (99, 2)        
  702. (99, 21)        String.locationBr
  703. (99, 22)        [location]
  704. (99, 23)          //  used in finding xlrdr.dll
  705. (100, 0)        
  706. (100, 2)        
  707. (100, 21)        String.dir
  708. (100, 22)        dir
  709. (100, 23)          //  a sting
  710. (101, 0)        
  711. (101, 2)        
  712. (101, 21)        String.FALSE
  713. (101, 22)        FALSE
  714. (101, 23)          //  a sting
  715. (102, 0)        
  716. (102, 2)        
  717. (102, 15)        
  718. (102, 21)        String.TRUE
  719. (102, 22)        TRUE
  720. (102, 23)          //  identifies a blank cell to xlrdr.dll
  721. (103, 0)        
  722. (103, 2)        
  723. (103, 21)        String.BlankCell
  724. (103, 22)        _NA
  725. (103, 23)          //  General format; probably obsolete
  726. (104, 0)        
  727. (104, 1)        
  728. (104, 2)        
  729. (104, 21)        String.General
  730. (104, 22)        General
  731. (104, 23)           // Used for formatting dates internally
  732. (105, 0)        
  733. (105, 2)        
  734. (105, 21)        String.Month
  735. (105, 22)        _MONTH
  736. (105, 23)           // Used for formatting dates internally
  737. (106, 0)        
  738. (106, 2)        
  739. (106, 21)        String.Day
  740. (106, 22)        _DAY
  741. (106, 23)           // Used for formatting dates internally
  742. (107, 0)        
  743. (107, 1)        
  744. (107, 2)        
  745. (107, 21)        String.Mon
  746. (107, 22)        _MON
  747. (107, 23)           // Used for formatting dates internally
  748. (108, 0)        
  749. (108, 1)        
  750. (108, 2)        
  751. (108, 21)        String.Milenium
  752. (108, 22)        _M
  753. (108, 23)           // Used for formatting dates internally
  754. (109, 0)        SetMen
  755. (109, 1)        SetMen
  756. (109, 2)        
  757. (109, 21)        String.Century
  758. (109, 22)        _C
  759. (109, 23)           // Used for formatting dates internally
  760. (110, 0)        sm.HelpFileNum
  761. (110, 1)        
  762. (110, 2)        
  763. (110, 21)        String.Year
  764. (110, 22)        _Y
  765. (110, 23)           // Used for formatting dates internally
  766. (111, 0)        sm.VolumeFileNum
  767. (111, 1)        
  768. (111, 2)        
  769. (111, 21)        String.CenturyTurn
  770. (111, 22)        _YC
  771. (112, 0)        
  772. (112, 1)        
  773. (112, 2)        
  774. (112, 21)        
  775. (113, 0)        
  776. (113, 2)        
  777. (114, 0)        
  778. (114, 2)        
  779. (114, 21)           //  Arguments
  780. (115, 0)        
  781. (115, 2)        
  782. (115, 21)        ArgType._FC
  783. (115, 22)        >FC
  784. (116, 0)        
  785. (116, 2)        
  786. (116, 21)        ArgType._FI
  787. (116, 22)        >FI
  788. (117, 0)        
  789. (117, 2)        
  790. (117, 21)        ArgType.ICCCC
  791. (117, 22)        ICCCC
  792. (118, 0)        
  793. (118, 2)        
  794. (118, 21)        ArgType.4CCCFIC
  795. (118, 22)        4CCCFIC
  796. (119, 0)        
  797. (119, 2)        
  798. (120, 0)        
  799. (120, 2)        
  800. (120, 21)           //   Functions
  801. (121, 0)        
  802. (121, 2)        
  803. (121, 21)        Function.kernel
  804. (121, 22)        kernel
  805. (122, 0)        
  806. (122, 2)        
  807. (122, 21)        Function.WPPS
  808. (122, 22)        WritePrivateProfileString
  809. (123, 0)        
  810. (123, 2)        
  811. (123, 21)        Function.GPPS
  812. (123, 22)        GetPrivateProfileString
  813. (124, 0)        
  814. (124, 2)        
  815. (124, 21)        Function.GWD
  816. (124, 22)        GetWindowsDirectory
  817. (125, 0)        
  818. (125, 2)        
  819. (125, 21)        Function.Rdr
  820. (125, 22)        Rdr
  821. (126, 0)        
  822. (126, 2)        
  823. (126, 21)        Function.WSS
  824. (126, 22)        WindowsSoundSystem
  825. (127, 0)        
  826. (127, 2)        
  827. (127, 22)          //  Don't touch!
  828. (127, 23)          //  these are strings put here using Excel 3.0
  829. (128, 0)        
  830. (128, 2)        
  831. (128, 21)        Function.EnableOnEntry
  832. (128, 22)        =ON.ENTRY(,REFTEXT(ParseCell))
  833. (129, 0)        
  834. (129, 2)        
  835. (129, 22)          //  Don't touch!
  836. (129, 23)          //  these are strings put here using Excel 3.0
  837. (130, 0)        
  838. (130, 21)        Function.DisableOnEntry
  839. (130, 22)        =ON.ENTRY()
  840. (131, 0)        
  841. (131, 1)             // In a very special case, the proof menu may already exist.  This occurs 
  842. (132, 0)        
  843. (132, 1)             // when the user goes into the introduction or tutorial after proof has already 
  844. (132, 2)        
  845. (133, 0)        
  846. (133, 1)             // been loaded.  When this happens, excel not only runs our auto_close,
  847. (133, 2)        
  848. (133, 21)           //   Keys
  849. (134, 0)        
  850. (134, 1)             // they physically remove our macro sheet.  Since we don't delete our
  851. (134, 2)        
  852. (134, 21)        Key.Cntrl
  853. (134, 22)        ^
  854. (135, 0)        
  855. (135, 1)             // menu item anymore, it may still exist when auto_open is run.
  856. (135, 2)        
  857. (135, 21)        Key.Shift
  858. (135, 22)        +
  859. (136, 0)        
  860. (136, 2)        
  861. (136, 21)        Key.LeftEnter
  862. (136, 22)        ~
  863. (137, 0)        
  864. (137, 1)             // We try to enable the menu.  If it fails, the menu doesn't exist.
  865. (137, 2)        
  866. (137, 21)        Key.RightEnter
  867. (137, 22)        {ENTER}
  868. (138, 0)        
  869. (138, 2)        
  870. (138, 21)        Key.LeftArrow
  871. (138, 22)        {LEFT}
  872. (139, 0)        
  873. (139, 2)        
  874. (139, 21)        Key.RightArrow
  875. (139, 22)        {RIGHT}
  876. (140, 0)        
  877. (140, 2)        
  878. (140, 21)        Key.UpArrow
  879. (140, 22)        {UP}
  880. (141, 0)        
  881. (141, 21)        Key.DownArrow
  882. (141, 22)        {DOWN}
  883. (142, 0)        
  884. (142, 21)        Key.Tab
  885. (142, 22)        {TAB}
  886. (143, 0)        
  887. (143, 2)        
  888. (143, 21)        Key.Insert
  889. (143, 22)        {INSERT}
  890. (144, 0)        
  891. (144, 2)        
  892. (144, 21)        Key.ProofRange
  893. (144, 22)        {N}
  894. (145, 0)        
  895. (145, 1)        
  896. (145, 2)        
  897. (145, 21)        Key.Stop
  898. (145, 22)        {S}
  899. (146, 0)        
  900. (146, 2)        
  901. (146, 21)        Key.Resume
  902. (146, 22)        {U}
  903. (147, 0)        
  904. (147, 2)        
  905. (147, 21)        Key.OnEnter
  906. (147, 22)        
  907. (148, 0)        
  908. (148, 2)        
  909. (148, 21)        Key.Volume
  910. (148, 22)        
  911. (149, 0)        
  912. (149, 2)        
  913. (149, 9)        
  914. (149, 10)        
  915. (149, 20)        Menu.Options
  916. (149, 21)        Key.Options
  917. (149, 22)        
  918. (150, 0)        
  919. (150, 2)        
  920. (150, 9)        
  921. (150, 10)        
  922. (150, 20)        
  923. (151, 0)        
  924. (151, 9)        
  925. (151, 10)        
  926. (151, 20)        
  927. (152, 0)        
  928. (152, 9)        
  929. (152, 10)        
  930. (152, 20)        
  931. (152, 21)           //   Menu Strings.  The raw items are strings without the & stripped.
  932. (152, 22)          //  They are set by calling to xlrdr.dll (using String._getmenu...) and are put into the menus, then stripped and put here so they can be en/disabled.
  933. (153, 0)        
  934. (153, 9)        
  935. (153, 10)        
  936. (153, 20)          //  Arguments to functions
  937. (153, 21)        Menu.Proof
  938. (154, 0)        
  939. (154, 9)        
  940. (154, 10)        
  941. (154, 20)        Arg.XLSTART
  942. (154, 21)        Menu.OnEntry
  943. (155, 0)        
  944. (155, 9)        
  945. (155, 10)        
  946. (155, 20)        
  947. (155, 21)        Menu.Range
  948. (156, 9)        
  949. (156, 10)        
  950. (156, 20)        
  951. (156, 21)        Menu.Stop
  952. (157, 9)        
  953. (157, 10)        
  954. (157, 20)        
  955. (157, 21)        Menu.Resume
  956. (158, 9)        
  957. (158, 10)        
  958. (158, 20)        
  959. (158, 21)        Menu.Volume
  960. (159, 21)        
  961. (160, 21)        
  962. (161, 21)        
  963. (162, 21)        
  964. (163, 21)          // GET.WORKSPACE(32) does not work in Excel 3.0
  965. (164, 21)        XLSTART
  966. (165, 2)        
  967. (165, 21)        
  968. (166, 0)        ProofRange
  969. (166, 1)        ProofRange
  970. (166, 2)        
  971. (166, 21)        
  972. (167, 0)        
  973. (167, 1)        
  974. (167, 2)        
  975. (167, 21)        
  976. (168, 0)        
  977. (168, 1)             // Disable cancelling of this macro.
  978. (168, 2)        
  979. (168, 21)        
  980. (169, 0)        
  981. (169, 2)        
  982. (170, 0)        
  983. (170, 1)        
  984. (170, 2)        
  985. (171, 0)        
  986. (171, 1)             // if dlls aren't loaded, load them now
  987. (171, 2)        
  988. (171, 21)           //   Localized strings
  989. (172, 0)        
  990. (172, 2)        
  991. (172, 21)        Local.USAGone
  992. (172, 22)         could not be found.  Please specify a location for it.
  993. (173, 0)        
  994. (173, 1)        
  995. (173, 2)        
  996. (173, 21)        Local.USAUAE
  997. (173, 22)        Application Execution Error!
  998. (174, 0)        
  999. (174, 1)             // If invalid sheet, return
  1000. (174, 2)        
  1001. (175, 0)        
  1002. (175, 2)        
  1003. (176, 0)        
  1004. (176, 1)        
  1005. (176, 2)        
  1006. (177, 0)        
  1007. (177, 1)             // Checking for objects
  1008. (177, 2)        
  1009. (178, 0)        
  1010. (178, 2)        
  1011. (179, 0)        
  1012. (179, 1)        
  1013. (180, 0)        
  1014. (180, 1)            // Disable the appropriate items.
  1015. (180, 2)        
  1016. (181, 0)        
  1017. (181, 2)        
  1018. (182, 0)        
  1019. (182, 1)        
  1020. (182, 2)        
  1021. (183, 0)        
  1022. (183, 1)             // Pass the following parameters.
  1023. (183, 2)        
  1024. (184, 0)        
  1025. (184, 1)             //  - Ranges, each of them are comma separated
  1026. (184, 2)        
  1027. (185, 0)        
  1028. (185, 1)             //  - Worksheet type, either A1 or R1C1
  1029. (186, 0)        
  1030. (186, 1)             //  - The last row and column used on the sheet, in format of RnCn
  1031. (186, 10)        
  1032. (187, 0)        
  1033. (188, 0)        
  1034. (191, 0)        ResumeRange
  1035. (191, 1)        ResumeRange
  1036. (191, 2)        
  1037. (192, 0)        
  1038. (192, 1)        
  1039. (192, 2)        
  1040. (193, 0)        
  1041. (193, 1)             // Disable cancelling of this macro.
  1042. (193, 2)        
  1043. (194, 0)        
  1044. (195, 0)        
  1045. (195, 1)        
  1046. (196, 0)        
  1047. (196, 1)             // if dlls aren't loaded, load them now
  1048. (196, 2)        
  1049. (197, 0)        
  1050. (197, 2)        
  1051. (198, 0)        
  1052. (198, 1)        
  1053. (198, 2)        
  1054. (199, 0)        
  1055. (199, 1)             // If invalid sheet, return
  1056. (199, 2)        
  1057. (200, 0)        
  1058. (200, 2)        
  1059. (201, 0)        
  1060. (201, 1)        
  1061. (201, 2)        
  1062. (202, 0)        
  1063. (202, 1)            // Disable the appropriate items.
  1064. (203, 0)        
  1065. (204, 0)        
  1066. (204, 1)        
  1067. (204, 2)        
  1068. (205, 0)        
  1069. (205, 1)             // Get the cell reference.  Be sure to remove the sheet name from it.
  1070. (205, 2)        
  1071. (206, 0)        
  1072. (206, 2)        
  1073. (207, 0)        rr.ActiveCell
  1074. (207, 2)        
  1075. (208, 0)        
  1076. (208, 1)        
  1077. (208, 2)        
  1078. (209, 0)        
  1079. (209, 1)             // Pass the following parameters.
  1080. (209, 2)        
  1081. (210, 0)        
  1082. (210, 1)             //  - Ranges, each of them are comma separated
  1083. (210, 2)        
  1084. (211, 0)        
  1085. (211, 1)             //  - Worksheet type, either A1 or R1C1
  1086. (211, 2)        
  1087. (212, 0)        
  1088. (212, 1)             //  - The last row and column used on the sheet, in format of RnCn
  1089. (212, 2)        
  1090. (213, 0)        
  1091. (213, 1)             //  - The currently active cell
  1092. (213, 2)        
  1093. (214, 0)        
  1094. (214, 2)        
  1095. (215, 0)        
  1096. (215, 2)        
  1097. (216, 0)        
  1098. (216, 1)        
  1099. (216, 2)        
  1100. (217, 0)        
  1101. (217, 1)        
  1102. (217, 2)        
  1103. (218, 0)        ProofOnEntrySwap
  1104. (218, 1)        ProofOnEntrySwap
  1105. (218, 2)        
  1106. (219, 0)        
  1107. (219, 1)        
  1108. (219, 2)        
  1109. (220, 0)        
  1110. (220, 1)             // if dlls aren't loaded, load them now
  1111. (220, 2)        
  1112. (221, 0)        
  1113. (221, 2)        
  1114. (222, 0)        
  1115. (222, 1)        
  1116. (222, 2)        
  1117. (223, 0)        
  1118. (223, 1)             // Get current list separator and reset tts.ExecSkeleton.  This
  1119. (223, 2)        
  1120. (224, 0)        
  1121. (224, 1)             // is in case the user has switched countries after this macro was loaded.
  1122. (224, 2)        
  1123. (225, 0)        
  1124. (225, 2)        
  1125. (226, 0)        
  1126. (226, 1)        
  1127. (226, 2)        
  1128. (227, 0)        
  1129. (227, 2)        
  1130. (228, 0)        
  1131. (228, 2)        
  1132. (229, 0)        
  1133. (229, 2)        
  1134. (230, 0)        
  1135. (230, 2)        
  1136. (231, 0)        poe.DisableOnEntry
  1137. (231, 1)          //  =ON.ENTRY()
  1138. (231, 2)        
  1139. (232, 0)        
  1140. (232, 2)        
  1141. (233, 0)        
  1142. (233, 2)        
  1143. (234, 0)        
  1144. (234, 2)        
  1145. (235, 0)        
  1146. (236, 0)        
  1147. (236, 2)        
  1148. (237, 0)        
  1149. (237, 2)        
  1150. (238, 0)        
  1151. (239, 0)        
  1152. (239, 2)        
  1153. (240, 0)        poe.EnableOnEntry
  1154. (240, 1)          //  =ON.ENTRY(;ParseCell)
  1155. (240, 2)        
  1156. (241, 0)        
  1157. (241, 2)        
  1158. (242, 0)        
  1159. (242, 2)        
  1160. (243, 0)        
  1161. (243, 2)        
  1162. (244, 0)        
  1163. (244, 1)        
  1164. (244, 2)        
  1165. (245, 0)        
  1166. (245, 2)        
  1167. (246, 0)        
  1168. (246, 2)        
  1169. (247, 0)        
  1170. (247, 2)        
  1171. (248, 0)        
  1172. (248, 2)        
  1173. (249, 0)        
  1174. (249, 1)        
  1175. (249, 2)        
  1176. (250, 0)        
  1177. (250, 1)        
  1178. (250, 2)        
  1179. (251, 0)        Pause
  1180. (251, 1)        Pause
  1181. (251, 2)        
  1182. (252, 0)        
  1183. (252, 1)        
  1184. (252, 2)        
  1185. (253, 0)        
  1186. (253, 1)             // Disable cancelling of this macro.
  1187. (253, 2)        
  1188. (254, 0)        
  1189. (254, 2)        
  1190. (255, 0)        
  1191. (255, 1)        
  1192. (255, 2)        
  1193. (256, 0)        
  1194. (256, 1)             // if dlls aren't loaded, load them now
  1195. (256, 2)        
  1196. (257, 0)        
  1197. (257, 2)        
  1198. (258, 0)        
  1199. (258, 1)        
  1200. (258, 2)        
  1201. (259, 0)        
  1202. (259, 1)            // Enable the appropriate items.
  1203. (259, 2)        
  1204. (260, 0)        
  1205. (260, 2)        
  1206. (261, 0)        
  1207. (261, 1)        
  1208. (261, 2)        
  1209. (262, 0)        
  1210. (262, 2)        
  1211. (263, 0)        
  1212. (263, 2)        
  1213. (264, 2)        
  1214. (264, 10)        
  1215. (265, 2)        
  1216. (266, 0)        EnableProofItems
  1217. (266, 1)        EnableProofItems
  1218. (266, 2)        
  1219. (267, 0)        
  1220. (267, 2)        
  1221. (268, 0)        
  1222. (268, 1)        
  1223. (268, 2)        
  1224. (269, 0)        
  1225. (269, 2)        
  1226. (270, 0)        
  1227. (270, 2)        
  1228. (271, 0)        
  1229. (271, 2)        
  1230. (272, 0)        
  1231. (272, 1)        
  1232. (272, 2)        
  1233. (273, 0)        
  1234. (273, 2)        
  1235. (274, 0)        
  1236. (274, 2)        
  1237. (275, 0)        
  1238. (275, 2)        
  1239. (276, 0)        
  1240. (277, 0)        
  1241. (278, 0)        
  1242. (278, 2)        
  1243. (279, 0)        
  1244. (279, 2)        
  1245. (280, 0)        
  1246. (280, 2)        
  1247. (281, 0)        
  1248. (281, 2)        
  1249. (282, 0)        
  1250. (282, 2)        
  1251. (283, 0)        
  1252. (283, 2)        
  1253. (284, 0)        
  1254. (284, 2)        
  1255. (285, 2)        
  1256. (286, 2)        
  1257. (287, 0)        TTSOptions
  1258. (287, 1)        TTSOptions
  1259. (287, 2)        
  1260. (288, 0)        
  1261. (288, 1)        
  1262. (288, 2)        
  1263. (289, 0)        
  1264. (289, 1)             // Disable cancelling of this macro.
  1265. (289, 2)        
  1266. (290, 0)        
  1267. (290, 2)        
  1268. (291, 0)        
  1269. (291, 1)        
  1270. (291, 2)        
  1271. (292, 0)        
  1272. (292, 1)             // if dlls aren't loaded, load them now
  1273. (292, 2)        
  1274. (293, 0)        
  1275. (293, 2)        
  1276. (294, 0)        
  1277. (294, 1)        
  1278. (294, 2)        
  1279. (295, 0)        
  1280. (295, 2)        
  1281. (296, 0)        
  1282. (296, 2)        
  1283. (299, 0)        EntryTrap
  1284. (299, 1)        EntryTrap
  1285. (299, 2)        
  1286. (300, 0)        
  1287. (300, 1)        
  1288. (300, 2)        
  1289. (301, 0)        
  1290. (301, 2)        
  1291. (302, 0)        
  1292. (302, 2)        
  1293. (303, 0)        
  1294. (303, 2)        
  1295. (304, 0)        
  1296. (304, 2)        
  1297. (305, 0)        
  1298. (305, 2)        
  1299. (306, 0)        
  1300. (306, 2)        
  1301. (307, 0)        
  1302. (307, 2)        
  1303. (308, 0)        
  1304. (308, 2)        
  1305. (309, 0)        
  1306. (309, 2)        
  1307. (310, 0)        
  1308. (310, 2)        
  1309. (311, 0)        
  1310. (311, 2)        
  1311. (312, 2)        
  1312. (314, 0)        
  1313. (314, 1)        DisableEntryTrap
  1314. (314, 2)        
  1315. (315, 0)        
  1316. (315, 1)        
  1317. (315, 2)        
  1318. (316, 0)        
  1319. (316, 2)        
  1320. (317, 0)        
  1321. (317, 2)        
  1322. (318, 0)        
  1323. (318, 2)        
  1324. (319, 0)        
  1325. (319, 2)        
  1326. (320, 0)        
  1327. (320, 2)        
  1328. (321, 0)        
  1329. (321, 2)        
  1330. (322, 0)        
  1331. (322, 2)        
  1332. (323, 0)        
  1333. (323, 2)        
  1334. (324, 0)        
  1335. (324, 2)        
  1336. (325, 0)        
  1337. (325, 2)        
  1338. (326, 0)        
  1339. (326, 2)        
  1340. (327, 0)        
  1341. (327, 1)        
  1342. (327, 2)        
  1343. (328, 0)        
  1344. (328, 1)        
  1345. (328, 2)        
  1346. (329, 0)        OnStationary
  1347. (329, 1)        OnStationary
  1348. (329, 2)        
  1349. (330, 0)        
  1350. (330, 1)        
  1351. (330, 2)        
  1352. (331, 0)        
  1353. (332, 0)        
  1354. (333, 0)        
  1355. (333, 1)        
  1356. (334, 0)        
  1357. (334, 1)        
  1358. (335, 0)        OnLeft
  1359. (335, 1)        OnLeft
  1360. (336, 0)        
  1361. (336, 1)        
  1362. (337, 0)        
  1363. (338, 0)        
  1364. (338, 2)        
  1365. (339, 0)        
  1366. (339, 2)        
  1367. (340, 0)        
  1368. (340, 1)        
  1369. (340, 2)        
  1370. (341, 0)        
  1371. (341, 1)        
  1372. (341, 2)        
  1373. (342, 0)        OnRight
  1374. (342, 1)        OnRight
  1375. (342, 2)        
  1376. (343, 0)        
  1377. (343, 1)        
  1378. (343, 2)        
  1379. (344, 0)        
  1380. (344, 2)        
  1381. (345, 0)        
  1382. (345, 2)        
  1383. (346, 0)        
  1384. (346, 2)        
  1385. (347, 2)        
  1386. (349, 0)        OnUp
  1387. (349, 1)        OnUp
  1388. (350, 0)        
  1389. (350, 1)        
  1390. (351, 0)        
  1391. (352, 0)        
  1392. (353, 0)        
  1393. (354, 2)        
  1394. (355, 2)        
  1395. (356, 0)        OnDown
  1396. (356, 1)        OnDown
  1397. (356, 2)        
  1398. (357, 0)        
  1399. (357, 1)        
  1400. (357, 2)        
  1401. (358, 0)        
  1402. (358, 2)        
  1403. (359, 0)        
  1404. (359, 2)        
  1405. (360, 0)        
  1406. (360, 2)        
  1407. (361, 2)        
  1408. (362, 2)        
  1409. (363, 0)        OnNewLeft
  1410. (363, 1)        OnNewLeft
  1411. (363, 2)        
  1412. (364, 0)        
  1413. (364, 1)        
  1414. (364, 2)        
  1415. (365, 0)        
  1416. (365, 2)        
  1417. (366, 0)        
  1418. (366, 2)        
  1419. (367, 0)        
  1420. (367, 2)        
  1421. (368, 0)        
  1422. (368, 1)        
  1423. (368, 2)        
  1424. (369, 0)        
  1425. (369, 1)        
  1426. (369, 2)        
  1427. (370, 0)        OnNewRight
  1428. (370, 1)        OnNewRight
  1429. (370, 2)        
  1430. (371, 0)        
  1431. (371, 1)        
  1432. (371, 2)        
  1433. (372, 0)        
  1434. (372, 2)        
  1435. (373, 0)        
  1436. (373, 2)        
  1437. (374, 0)        
  1438. (377, 0)        OnNewUp
  1439. (377, 1)        OnNewUp
  1440. (377, 2)        
  1441. (378, 0)        
  1442. (378, 1)        
  1443. (378, 2)        
  1444. (379, 0)        
  1445. (379, 2)        
  1446. (380, 0)        
  1447. (380, 2)        
  1448. (381, 0)        
  1449. (381, 2)        
  1450. (382, 2)        
  1451. (383, 2)        
  1452. (384, 0)        OnNewDown
  1453. (384, 1)        OnNewDown
  1454. (384, 2)        
  1455. (385, 0)        
  1456. (385, 1)        
  1457. (385, 2)        
  1458. (386, 0)        
  1459. (386, 2)        
  1460. (387, 0)        
  1461. (387, 2)        
  1462. (388, 0)        
  1463. (388, 2)        
  1464. (389, 0)        
  1465. (389, 2)        
  1466. (390, 0)        
  1467. (390, 2)        
  1468. (391, 0)        RetrieveXPath
  1469. (391, 1)        RetrieveXPath
  1470. (391, 2)        
  1471. (392, 0)        
  1472. (392, 1)        
  1473. (392, 2)        
  1474. (393, 0)        rxp.ExePath
  1475. (393, 1)        
  1476. (393, 2)        
  1477. (394, 0)        rxp.ExeName
  1478. (394, 1)        
  1479. (394, 2)        
  1480. (395, 0)        rxp.ExeDir
  1481. (395, 1)        
  1482. (395, 2)        
  1483. (396, 0)        
  1484. (396, 1)        
  1485. (396, 2)        
  1486. (397, 0)        
  1487. (397, 1)        
  1488. (397, 2)        
  1489. (398, 0)        
  1490. (398, 1)             // Initialize local variables.
  1491. (398, 2)        
  1492. (399, 0)        
  1493. (399, 2)        
  1494. (400, 0)        
  1495. (400, 1)        
  1496. (400, 2)        
  1497. (401, 0)        
  1498. (401, 1)             // If excel version 4 and above, we can call getprivate...() directly from the kernel.
  1499. (401, 2)        
  1500. (402, 0)        
  1501. (402, 1)             // Otherwise, we must call our own routine that emulates this.
  1502. (403, 0)        
  1503. (404, 0)        
  1504. (404, 1)        
  1505. (405, 0)        
  1506. (405, 1)             // If both directory and filename found, try to open it.
  1507. (405, 2)        
  1508. (406, 0)        
  1509. (406, 2)        
  1510. (407, 0)        
  1511. (407, 2)        
  1512. (408, 0)        
  1513. (408, 2)        
  1514. (409, 0)        
  1515. (409, 2)        
  1516. (410, 0)        
  1517. (410, 2)        
  1518. (411, 0)        
  1519. (411, 2)        
  1520. (412, 0)        
  1521. (412, 2)        
  1522. (413, 0)        
  1523. (413, 1)        
  1524. (413, 2)        
  1525. (414, 0)        
  1526. (414, 1)             // The dll wasn't found.  Search the sndsys.ini file for a directory and look
  1527. (414, 2)        
  1528. (415, 0)        
  1529. (415, 1)             //  for the ddl there.
  1530. (415, 2)        
  1531. (416, 0)        
  1532. (416, 2)        
  1533. (417, 0)        
  1534. (417, 2)        
  1535. (418, 0)        
  1536. (418, 2)        
  1537. (419, 0)        
  1538. (419, 2)        
  1539. (420, 0)        
  1540. (420, 2)        
  1541. (421, 0)        
  1542. (422, 0)        
  1543. (422, 10)        
  1544. (423, 0)        
  1545. (423, 2)        
  1546. (423, 10)        
  1547. (424, 0)        
  1548. (424, 2)        
  1549. (425, 0)        
  1550. (425, 2)        
  1551. (426, 0)        
  1552. (426, 2)        
  1553. (427, 0)        
  1554. (427, 1)           //=END.IF()
  1555. (427, 2)        
  1556. (428, 0)        
  1557. (428, 1)        
  1558. (428, 2)        
  1559. (429, 0)        
  1560. (429, 1)        
  1561. (429, 2)        
  1562. (430, 0)        rxp.EnterPath
  1563. (430, 1)             // If the filename = the string not_found, query user for new path.
  1564. (430, 2)        
  1565. (431, 0)        
  1566. (431, 2)        
  1567. (432, 0)        
  1568. (432, 2)        
  1569. (433, 0)        
  1570. (433, 2)        
  1571. (434, 0)        
  1572. (434, 2)        
  1573. (435, 0)        
  1574. (435, 2)        
  1575. (436, 0)        
  1576. (436, 2)        
  1577. (437, 0)        
  1578. (437, 2)        
  1579. (438, 0)        
  1580. (438, 2)        
  1581. (439, 0)        
  1582. (439, 2)        
  1583. (440, 0)        
  1584. (440, 2)        
  1585. (441, 0)        
  1586. (441, 2)        
  1587. (442, 0)        
  1588. (442, 2)        
  1589. (443, 0)        
  1590. (443, 2)        
  1591. (444, 0)        
  1592. (444, 1)        
  1593. (444, 2)        
  1594. (445, 1)        
  1595. (445, 2)        
  1596. (446, 1)        
  1597. (446, 2)        
  1598. (447, 1)        
  1599. (447, 2)        
  1600. (449, 0)        rxp.Init
  1601. (449, 1)        rxp.Init()
  1602. (450, 0)        
  1603. (450, 1)        
  1604. (451, 0)        
  1605. (451, 1)             // The ini directory is set to the excel home directory.
  1606. (452, 0)        
  1607. (452, 1)             // We find it by parsing off the XLSTART from the retrieve startup directory call.
  1608. (453, 0)        
  1609. (454, 0)        
  1610. (455, 0)        
  1611. (456, 0)        
  1612. (457, 0)        
  1613. (458, 0)        
  1614. (459, 0)        
  1615. (460, 0)        
  1616. (461, 0)        
  1617. (462, 0)        
  1618. (462, 1)          //  =SET.VALUE(tts.IniDir,IF(tts.VerAbove3,GET.WORKSPACE(32)&Intl.DirDelim,SUBSTITUTE(GET.WORKSPACE(23),Arg.XLSTART,T(String.empty))))
  1619. (463, 0)        
  1620. (463, 1)          //  =SET.VALUE(tts.VerAbove3,IF(VALUE(MID(GET.WORKSPACE(2),1,1))>3,TRUE,FALSE))
  1621. (464, 0)        
  1622. (465, 0)        
  1623. (466, 1)        
  1624. (468, 0)        OpenFile
  1625. (468, 1)        OpenFile()
  1626. (469, 0)        
  1627. (470, 0)        
  1628. (471, 0)        of.FH
  1629. (471, 1)        
  1630. (472, 0)        
  1631. (472, 1)        
  1632. (473, 0)        
  1633. (473, 1)        
  1634. (474, 0)        
  1635. (474, 1)             // See if we can open file.   Place file handle in global variable.
  1636. (475, 0)        
  1637. (475, 1)             // Note:  Only one file can be open at a time.  It must be closed before a new one is opened.
  1638. (476, 0)        
  1639. (477, 0)        
  1640. (478, 0)        
  1641. (479, 0)        
  1642. (479, 1)        
  1643. (480, 0)        
  1644. (480, 1)             // If file cannot be found, return false
  1645. (481, 0)        
  1646. (482, 0)        
  1647. (483, 0)        
  1648. (484, 0)        
  1649. (485, 0)        
  1650. (487, 1)        
  1651. (488, 0)        CloseFile
  1652. (488, 1)        CloseFile()
  1653. (489, 0)        
  1654. (490, 0)        
  1655. (490, 1)        
  1656. (491, 0)        
  1657. (491, 1)             // Check file handle is valid
  1658. (492, 0)        
  1659. (493, 0)        
  1660. (494, 0)        
  1661. (495, 0)        
  1662. (496, 0)        
  1663. (497, 0)        
  1664. (497, 1)        
  1665. (499, 0)        CheckFileExists
  1666. (499, 1)        CheckFileExists()
  1667. (500, 0)        
  1668. (501, 0)        cfe.FH
  1669. (501, 1)        
  1670. (502, 0)        
  1671. (502, 1)        
  1672. (503, 0)        
  1673. (503, 1)             // Get file handle 
  1674. (504, 0)        
  1675. (505, 0)        
  1676. (505, 1)        
  1677. (506, 0)        
  1678. (506, 1)             // Check if file exists.  If so, return path.
  1679. (507, 0)        
  1680. (508, 0)        
  1681. (509, 0)        
  1682. (510, 0)        
  1683. (511, 0)        
  1684. (512, 0)        
  1685. (515, 0)        GetProfileString
  1686. (515, 1)        GetProfileString()
  1687. (516, 0)        
  1688. (517, 0)        
  1689. (518, 0)        
  1690. (519, 0)        
  1691. (520, 0)        
  1692. (521, 0)        gps.FH
  1693. (521, 1)        
  1694. (522, 0)        gps.Return
  1695. (522, 1)        
  1696. (523, 0)        
  1697. (523, 1)        
  1698. (524, 0)        
  1699. (525, 0)        
  1700. (525, 1)        
  1701. (526, 0)        
  1702. (526, 1)             // If file exists, open it and begin searching for section.  When found, look for the entry.  
  1703. (527, 0)        
  1704. (527, 1)             // When found the file pointer will be positioned to read the string.  If section/entry is
  1705. (528, 0)        
  1706. (528, 1)             // not found, return the default.
  1707. (529, 0)        
  1708. (529, 1)        
  1709. (530, 0)        
  1710. (531, 0)        
  1711. (532, 0)        
  1712. (533, 0)        
  1713. (534, 0)        
  1714. (535, 0)        
  1715. (536, 0)        
  1716. (537, 0)        
  1717. (538, 0)        
  1718. (539, 0)        
  1719. (540, 0)        
  1720. (541, 0)        
  1721. (542, 0)        
  1722. (542, 1)        
  1723. (543, 0)        
  1724. (544, 0)        
  1725. (545, 0)        
  1726. (545, 1)        
  1727. (546, 0)        
  1728. (546, 1)        
  1729. (547, 0)        
  1730. (547, 1)        
  1731. (549, 0)        FindIniSection
  1732. (549, 1)        FindIniSection()
  1733. (550, 0)        
  1734. (551, 0)        
  1735. (552, 0)        fis.FileSize
  1736. (552, 1)        
  1737. (553, 0)        fis.CurrentLine
  1738. (553, 1)        
  1739. (554, 0)        
  1740. (554, 1)        
  1741. (555, 0)        
  1742. (556, 0)        
  1743. (557, 0)        
  1744. (558, 0)        
  1745. (559, 0)        
  1746. (560, 0)        
  1747. (560, 1)        
  1748. (561, 0)        
  1749. (561, 1)             // If we make it here this means we have read the entire file without finding the string.
  1750. (562, 0)        
  1751. (563, 0)        
  1752. (563, 1)        
  1753. (564, 0)        fis.end
  1754. (569, 0)        FindIniEntry
  1755. (569, 1)        FindIniEntry()
  1756. (570, 0)        
  1757. (571, 0)        
  1758. (572, 0)        fie.FileSize
  1759. (572, 1)        
  1760. (573, 0)        fie.CurrentLine
  1761. (573, 1)        
  1762. (574, 0)        fie.EntryStart
  1763. (574, 1)        
  1764. (575, 0)        fie.EntryString
  1765. (575, 1)        
  1766. (576, 0)        
  1767. (576, 1)        
  1768. (577, 0)        
  1769. (577, 1)        
  1770. (578, 0)        
  1771. (579, 0)        
  1772. (579, 1)        
  1773. (580, 0)        
  1774. (580, 1)             // Loop through entire ini file starting at current file position.
  1775. (581, 0)        
  1776. (582, 0)        
  1777. (583, 0)        
  1778. (583, 1)        
  1779. (584, 0)        
  1780. (584, 1)             // Check if the entry lookup value is found on this line.  If not, get next line.
  1781. (585, 0)        
  1782. (585, 1)             // If so, retrieve the portion of the line following the equal sign.
  1783. (586, 0)        
  1784. (587, 0)        
  1785. (588, 0)        
  1786. (589, 0)        
  1787. (590, 0)        
  1788. (591, 0)        
  1789. (592, 0)        fie.Next
  1790. (593, 0)        
  1791. (593, 1)        
  1792. (594, 0)        
  1793. (594, 1)             // If we make it here this means we have read the entire file without finding the string.
  1794. (595, 0)        
  1795. (596, 0)        
  1796. (596, 1)        
  1797. (597, 0)        fie.End
  1798. (602, 0)        SetVolume
  1799. (602, 1)        SetVolume
  1800. (603, 0)        
  1801. (603, 1)        
  1802. (604, 0)        
  1803. (604, 1)             // if dlls aren't loaded, load them now
  1804. (605, 0)        
  1805. (606, 0)        
  1806. (606, 1)        
  1807. (607, 0)        
  1808. (608, 0)        
  1809. (611, 0)        MapNewFormat
  1810. (611, 1)        MapNewFormat
  1811. (612, 0)        
  1812. (613, 0)        mnf.FormatType
  1813. (613, 1)        
  1814. (614, 0)        mnf.FormatIndex
  1815. (614, 1)        
  1816. (615, 0)        mnf.NewFormat
  1817. (615, 1)        
  1818. (616, 0)        mnf.NewValue
  1819. (616, 1)        
  1820. (617, 0)        
  1821. (617, 1)        
  1822. (618, 0)        
  1823. (619, 0)        
  1824. (620, 0)        
  1825. (621, 0)        
  1826. (621, 1)             // If format wasn't found, it is a custom format the user has added and we can't
  1827. (622, 0)        
  1828. (622, 1)             // handle it at this time.  Default it to general.
  1829. (623, 0)        
  1830. (624, 0)        
  1831. (625, 0)        
  1832. (626, 0)        
  1833. (627, 0)        
  1834. (628, 0)        
  1835. (629, 0)        
  1836. (630, 0)        
  1837. (631, 0)        
  1838. (632, 0)        
  1839. (633, 0)        
  1840. (634, 0)        
  1841. (635, 0)        
  1842. (636, 0)        
  1843. (637, 0)        
  1844. (638, 0)        
  1845. (639, 0)        
  1846. (639, 1)        
  1847. (640, 0)        
  1848. (640, 1)             // check for a blank cell.  If blank, hardwire string into return val.
  1849. (641, 0)        
  1850. (642, 0)        
  1851. (643, 0)        
  1852. (644, 0)        
  1853. (645, 0)        
  1854. (645, 1)        
  1855. (646, 0)        
  1856. (646, 1)             // If the index was set to 0, we are using a custom format unknown to us.
  1857. (647, 0)        
  1858. (647, 1)             // Simply map to this same format.
  1859. (648, 0)        
  1860. (648, 1)          //    =IF(mnf.FormatIndex=0)
  1861. (649, 0)        
  1862. (649, 1)            //    =   SET.VALUE(mnf.NewValue,TEXT(GET.CELL(5,mnf.ActiveCell),mnf.FormatType))
  1863. (650, 0)        
  1864. (650, 1)        
  1865. (651, 0)        
  1866. (651, 1)             // Cannot do a TEXT() call on a format of General.  Simply retrieve the
  1867. (652, 0)        
  1868. (652, 1)             // contents of the cell which is the same as a general format.
  1869. (653, 0)        
  1870. (654, 0)        
  1871. (655, 0)        
  1872. (655, 1)        
  1873. (656, 0)        
  1874. (656, 1)             // We found the format in our table.  Map it to the pronounce as format
  1875. (657, 0)        
  1876. (658, 0)        
  1877. (659, 0)        
  1878. (660, 0)        
  1879. (661, 0)        
  1880. (662, 0)        
  1881. (663, 0)        
  1882. (663, 1)        
  1883. (664, 0)        
  1884. (669, 0)        
  1885. (669, 1)             // If the format passed in is a long date format, i.e.  the
  1886. (670, 0)        
  1887. (670, 1)             // month and/or day portion of the format is at least three format
  1888. (671, 0)        
  1889. (671, 1)             // chars, then return a modified format string containing our internal
  1890. (672, 0)        
  1891. (672, 1)             // names for day and month.
  1892. (673, 0)        MapDateFormat
  1893. (673, 1)        MapDateFormat
  1894. (674, 0)        
  1895. (675, 0)        
  1896. (676, 0)        
  1897. (676, 1)        
  1898. (677, 0)        df.NewFormat
  1899. (677, 1)        
  1900. (678, 0)        
  1901. (679, 0)        
  1902. (679, 1)        
  1903. (680, 0)        
  1904. (680, 1)          // If cell is blank or not a number, get out
  1905. (681, 0)        
  1906. (682, 0)        
  1907. (682, 1)        
  1908. (683, 0)        
  1909. (683, 1)          // This section removes a single or double month delimiter.
  1910. (684, 0)        
  1911. (684, 1)          //  Code is long since we have to be careful not to modify other formats which may have a stray character
  1912. (685, 0)        dfm.Search
  1913. (686, 0)        dfm.PosDay
  1914. (687, 0)        dfm.PosQuote
  1915. (688, 0)        dfm.PosEscape
  1916. (689, 0)        dfm.Len
  1917. (690, 0)        
  1918. (691, 0)        dfm.PosMin
  1919. (692, 0)        
  1920. (692, 10)        
  1921. (693, 0)        
  1922. (694, 0)        
  1923. (695, 0)        
  1924. (696, 0)        
  1925. (697, 0)        
  1926. (698, 0)        
  1927. (699, 0)        
  1928. (700, 0)        
  1929. (701, 0)        
  1930. (702, 0)        
  1931. (702, 21)        
  1932. (703, 0)        
  1933. (704, 0)        
  1934. (705, 0)        
  1935. (706, 0)        
  1936. (707, 0)        
  1937. (708, 0)        
  1938. (709, 0)        
  1939. (710, 0)        
  1940. (711, 0)        
  1941. (712, 0)        
  1942. (713, 0)        
  1943. (714, 0)        
  1944. (715, 0)        
  1945. (716, 0)        
  1946. (717, 0)        
  1947. (718, 0)        
  1948. (719, 0)        
  1949. (720, 0)        
  1950. (721, 0)        
  1951. (722, 0)        
  1952. (723, 0)        
  1953. (724, 0)        
  1954. (725, 0)        
  1955. (726, 0)        
  1956. (727, 0)        
  1957. (728, 0)        
  1958. (729, 0)        
  1959. (730, 0)        
  1960. (731, 0)        
  1961. (732, 0)        
  1962. (733, 0)        
  1963. (734, 0)        
  1964. (735, 0)        
  1965. (735, 1)        
  1966. (736, 0)        
  1967. (736, 1)        
  1968. (737, 0)        
  1969. (737, 1)        
  1970. (738, 0)        
  1971. (738, 1)          // First we redo MMM, MMMM
  1972. (739, 0)        df.LongMonth
  1973. (739, 1)        _LONGMONTH_
  1974. (740, 0)        
  1975. (741, 0)        
  1976. (742, 0)        
  1977. (743, 0)        
  1978. (743, 1)        
  1979. (744, 0)        
  1980. (744, 1)          // Next we do DDD, DDDD
  1981. (745, 0)        
  1982. (746, 0)        
  1983. (747, 0)        
  1984. (748, 0)        
  1985. (749, 0)        
  1986. (749, 1)        
  1987. (750, 0)        
  1988. (750, 1)          // Insert a date delimiter before YYYY (for cases such as Jan 20, 1996)
  1989. (751, 0)        
  1990. (751, 1)          //  =SET.VALUE(df.NewFormat;SUBSTITUTE(df.NewFormat;Intl.Space&Intl.YearDelim&Intl.YearDelim&Intl.YearDelim&Intl.YearDelim;Intl.Space&Intl.DateSep&Intl.YearDelim&Intl.YearDelim&Intl.YearDelim&Intl.YearDelim))
  1991. (752, 0)        
  1992. (752, 1)        
  1993. (753, 0)        
  1994. (753, 1)          // This section removes a single or double day delimiter.
  1995. (754, 0)        
  1996. (754, 1)          //  Code is long since we have to be careful not to modify other formats which may have a stray character
  1997. (755, 0)        df.Search
  1998. (756, 0)        df.PosDay
  1999. (757, 0)        df.PosQuote
  2000. (758, 0)        df.PosEscape
  2001. (759, 0)        df.Len
  2002. (760, 0)        
  2003. (761, 0)        df.PosMin
  2004. (762, 0)        
  2005. (762, 10)        
  2006. (763, 0)        
  2007. (764, 0)        
  2008. (765, 0)        
  2009. (766, 0)        
  2010. (767, 0)        
  2011. (768, 0)        
  2012. (769, 0)        
  2013. (770, 0)        
  2014. (771, 0)        
  2015. (772, 0)        
  2016. (772, 21)        
  2017. (773, 0)        
  2018. (774, 0)        
  2019. (775, 0)        
  2020. (776, 0)        
  2021. (777, 0)        
  2022. (778, 0)        
  2023. (779, 0)        
  2024. (780, 0)        
  2025. (781, 0)        
  2026. (782, 0)        
  2027. (783, 0)        
  2028. (784, 0)        
  2029. (785, 0)        
  2030. (786, 0)        
  2031. (787, 0)        
  2032. (788, 0)        
  2033. (789, 0)        
  2034. (790, 0)        
  2035. (791, 0)        
  2036. (792, 0)        
  2037. (793, 0)        
  2038. (794, 0)        
  2039. (795, 0)        
  2040. (796, 0)        
  2041. (797, 0)        
  2042. (798, 0)        
  2043. (799, 0)        
  2044. (800, 0)        
  2045. (801, 0)        
  2046. (802, 0)        
  2047. (803, 0)        
  2048. (804, 0)        
  2049. (805, 0)        
  2050. (805, 1)        
  2051. (806, 0)        
  2052. (806, 1)          // Finally, we handle the year separators
  2053. (807, 0)        
  2054. (807, 1)          // This section removes a single or double day delimiter.
  2055. (808, 0)        
  2056. (808, 1)          //  Code is long since we have to be careful not to modify other formats which may have a stray character
  2057. (809, 0)        dfy.Search
  2058. (810, 0)        dfy.PosYear
  2059. (811, 0)        dfy.PosQuote
  2060. (812, 0)        dfy.PosEscape
  2061. (813, 0)        dfy.Len
  2062. (814, 0)        
  2063. (815, 0)        dfy.PosMin
  2064. (816, 0)        
  2065. (816, 10)        
  2066. (817, 0)        
  2067. (818, 0)        
  2068. (819, 0)        
  2069. (820, 0)        
  2070. (821, 0)        
  2071. (822, 0)        
  2072. (823, 0)        
  2073. (824, 0)        
  2074. (825, 0)        
  2075. (826, 0)        
  2076. (826, 21)        
  2077. (827, 0)        
  2078. (828, 0)        
  2079. (829, 0)        
  2080. (830, 0)        
  2081. (831, 0)        
  2082. (832, 0)        
  2083. (833, 0)        
  2084. (834, 0)        
  2085. (835, 0)        
  2086. (836, 0)        
  2087. (837, 0)        
  2088. (838, 0)        
  2089. (839, 0)        
  2090. (840, 0)        
  2091. (841, 0)        
  2092. (842, 0)        
  2093. (843, 0)        
  2094. (844, 0)        
  2095. (845, 0)        
  2096. (846, 0)        
  2097. (847, 0)        
  2098. (848, 0)        
  2099. (849, 0)        
  2100. (850, 0)        
  2101. (851, 0)        
  2102. (852, 0)        df.Replace1
  2103. (852, 1)        
  2104. (853, 0)        
  2105. (854, 0)        
  2106. (855, 0)        
  2107. (856, 0)        
  2108. (857, 0)        
  2109. (858, 0)        
  2110. (859, 0)        
  2111. (860, 0)        
  2112. (861, 0)        
  2113. (862, 0)        df.Replace2
  2114. (863, 0)        
  2115. (864, 0)        
  2116. (865, 0)        
  2117. (866, 0)        
  2118. (867, 0)        
  2119. (868, 0)        
  2120. (869, 0)        
  2121. (870, 0)        
  2122. (871, 0)        
  2123. (872, 0)        
  2124. (873, 0)        
  2125. (874, 0)        
  2126. (875, 0)        
  2127. (875, 1)        
  2128. (876, 0)        
  2129. (876, 1)          // If no formatting needed, exit
  2130. (877, 0)        
  2131. (878, 0)        
  2132. (879, 0)        
  2133. (879, 1)          // Here we remap
  2134. (880, 0)        
  2135. (881, 0)        
  2136. (882, 0)        
  2137. (885, 0)        
  2138. (885, 1)             // This function kicks off the display as/pronounce as conversion.
  2139. (886, 0)        SetCell
  2140. (886, 1)        SetCell
  2141. (887, 0)        sc.Cell
  2142. (887, 1)        
  2143. (888, 0)        sc.AdviseCell
  2144. (888, 1)        
  2145. (889, 0)        
  2146. (889, 1)             // Disable cancelling of this macro.
  2147. (890, 0)        
  2148. (891, 0)        
  2149. (891, 1)        
  2150. (892, 0)        
  2151. (893, 0)        
  2152. (893, 1)             // We must make the return value from mapnewformat into a string or
  2153. (894, 0)        
  2154. (894, 1)             // excel will convert the return value into a number.
  2155. (895, 0)        
  2156. (895, 1)             // Placing a space at the start of a string doesn't affect
  2157. (896, 0)        
  2158. (896, 1)             // our proofing within the dll.
  2159. (897, 0)        
  2160. (898, 0)        
  2161. (899, 0)        
  2162. (900, 0)        
  2163. (901, 0)        
  2164. (902, 0)        
  2165. (903, 0)        
  2166. (904, 0)        
  2167. (905, 0)        
  2168. (906, 0)        
  2169. (907, 0)        
  2170. (908, 0)        
  2171. (909, 0)        
  2172. (910, 0)        
  2173. (911, 0)        
  2174. (912, 0)        
  2175. (913, 0)        
  2176. (914, 0)        
  2177. (914, 1)                    // If the active cell is a date, modify it's format, reevaluate the cell, and
  2178. (915, 0)        
  2179. (915, 1)                    // send back the new contents instead of those calculated in MapNewFormat()
  2180. (916, 0)        
  2181. (916, 1)                    // Note: the active cell format is stored in a global created during the
  2182. (917, 0)        
  2183. (917, 1)                    // MapNewFormat() routine.
  2184. (918, 0)        
  2185. (919, 0)        
  2186. (919, 2)        
  2187. (920, 0)        
  2188. (920, 2)        
  2189. (921, 0)        
  2190. (922, 0)        
  2191. (923, 0)        
  2192. (924, 0)        
  2193. (925, 0)        
  2194. (926, 0)        
  2195. (927, 0)        
  2196. (931, 0)        
  2197. (931, 1)             // This function retrieves the formats from the dll and places them
  2198. (932, 0)        
  2199. (932, 1)             // into the match table.
  2200. (933, 0)        RetrieveFormats
  2201. (933, 1)        RetrieveFormats
  2202. (934, 0)        rf.NumFormats
  2203. (934, 1)        
  2204. (935, 0)        
  2205. (935, 1)             // Retrieve the number of formats we'll be setting.
  2206. (936, 0)        
  2207. (937, 0)        
  2208. (937, 1)        
  2209. (938, 0)        
  2210. (939, 0)        
  2211. (940, 0)        
  2212. (941, 0)        
  2213. (941, 1)        
  2214. (942, 0)        
  2215. (945, 0)        EndProofRange
  2216. (945, 1)        EndProofRange
  2217. (946, 0)        
  2218. (946, 1)        
  2219. (947, 0)        
  2220. (948, 0)        
  2221. (951, 0)        IsValidSheet
  2222. (951, 1)        IsValidSheet
  2223. (952, 0)        
  2224. (952, 1)        
  2225. (953, 0)        
  2226. (953, 1)             // Dont allow hidden
  2227. (954, 0)        
  2228. (955, 0)        
  2229. (956, 0)        
  2230. (957, 0)        
  2231. (957, 1)        
  2232. (958, 0)        
  2233. (958, 1)             // Only allow worksheets.
  2234. (959, 0)        
  2235. (960, 0)        
  2236. (961, 0)        
  2237. (962, 0)        
  2238. (962, 1)        
  2239. (963, 0)        
  2240. (963, 1)             // Don't allow workgroup mode at this time.
  2241. (964, 0)        
  2242. (965, 0)        
  2243. (966, 0)        
  2244. (967, 0)        
  2245. (967, 1)        
  2246. (968, 0)        
  2247. (968, 1)             // Dont allow minimized (xl4 only)  windows.
  2248. (969, 0)        
  2249. (970, 0)        
  2250. (971, 0)        
  2251. (972, 0)        
  2252. (973, 0)        
  2253. (974, 0)        
  2254. (974, 1)        
  2255. (975, 0)        
  2256. (978, 0)        GetIntlDelims
  2257. (978, 1)        GetIntlDelims
  2258. (979, 0)        
  2259. (980, 0)        
  2260. (981, 0)        
  2261. (982, 0)        
  2262. (983, 0)        
  2263. (984, 0)        
  2264. (985, 0)        
  2265. (986, 0)        
  2266. (987, 0)        
  2267. (988, 0)        
  2268. (989, 0)        
  2269. (989, 1)           //  =   SET.VALUE(Intl.ParenLeft,MID(GET.CELL(6,GID.Call),LEN(GET.CELL(6,GID.Call))-2,1))
  2270. (990, 0)        
  2271. (990, 1)           //  =   SET.VALUE(Intl.ParenRight,MID(GET.CELL(6,GID.Call),LEN(GET.CELL(6,GID.Call))-0,1))
  2272. (991, 0)        GID.DateFormatLen
  2273. (992, 0)        
  2274. (993, 0)        
  2275. (994, 0)        
  2276. (995, 0)        
  2277. (995, 1)          // trying to find the Intl.DateSep
  2278. (996, 0)        
  2279. (996, 1)          // Starting at start of GID.DateFormat, we get first char, find first non match of this char
  2280. (997, 0)        GID.Pos
  2281. (998, 0)        GID.DateFormat
  2282. (999, 0)        
  2283. (1000, 0)        
  2284. (1001, 0)        
  2285. (1002, 0)        
  2286. (1003, 0)        
  2287. (1003, 1)          //  To terminate the while loop
  2288. (1004, 0)        
  2289. (1005, 0)        
  2290. (1006, 0)        
  2291. (1007, 0)        
  2292. (1008, 0)        
  2293. (1009, 0)        
  2294. (1010, 0)        
  2295. (1011, 0)        
  2296. (1012, 0)        GID.StandardDateFormat
  2297. (1012, 1)        22666
  2298. (1013, 0)        GID.FormatDDDDMMMMYYYY
  2299. (1013, 1)        23226
  2300. (1014, 0)        GID.FormatTime
  2301. (1014, 1)        0.52
  2302. (1015, 0)        GID.Call
  2303. (1016, 0)        
  2304. (1016, 1)        
  2305. (1017, 0)        
  2306. (1017, 1)        
  2307. (1018, 0)        
  2308. (1018, 1)        
  2309. (1019, 0)        LocalizeXlrdr
  2310. (1019, 1)        LocalizeXlrdr
  2311. (1020, 0)        Localize.Maxed
  2312. (1020, 1)        
  2313. (1021, 0)        
  2314. (1022, 0)        
  2315. (1023, 0)        
  2316. (1024, 0)        
  2317. (1024, 1)        
  2318. (1025, 0)        
  2319. (1025, 1)          //  this is because Excel 3.0 does not know about ON.ENTRY and the only way to really find out what it is is to create a slave International Macro Sheet, then do a Copy, Paste.
  2320. (1026, 0)        
  2321. (1026, 1)          //  The stuff below only happens with Excel4.  Unfortunately, the form of Copy that is needed is not known about in Excel 3.0.  Hence, the 6 copy commands that are ared must temselves be created.
  2322. (1027, 0)        
  2323. (1027, 1)          //  Fortunately, this can be done in a non-International Macro sheet and the results go into the 6 commented lines as the equivalent localized code.
  2324. (1028, 0)        
  2325. (1028, 1)          //  The next problem occurs because we try to minimize visual impact upon creation of a new macro sheet.  Doesn't do the job 100%, but that is the reason for the ECHO commands
  2326. (1029, 0)        
  2327. (1029, 1)          //  The other consequence is that the newly created macro sheet's number has been used up.
  2328. (1030, 0)        
  2329. (1031, 0)        
  2330. (1032, 0)        
  2331. (1033, 0)        
  2332. (1034, 0)        
  2333. (1035, 0)        
  2334. (1036, 0)        
  2335. (1037, 0)        
  2336. (1038, 0)        
  2337. (1039, 0)        
  2338. (1040, 0)        
  2339. (1041, 0)        
  2340. (1042, 0)        
  2341. (1043, 0)        
  2342. (1044, 0)        
  2343. (1045, 0)        Localize.Copy1
  2344. (1045, 1)          //  =   COPY(GID.DisableOnEntry;OFFSET(ACTIVE.CELL();1;0))
  2345. (1046, 0)        Localize.Copy2
  2346. (1046, 1)          //  =   COPY(GID.Return;OFFSET(ACTIVE.CELL();2;0))
  2347. (1047, 0)        
  2348. (1048, 0)        Localize.Copy3
  2349. (1048, 1)          //  =   COPY(;poe.DisableOnEntry)
  2350. (1049, 0)        
  2351. (1049, 1)        
  2352. (1050, 0)        Localize.Copy4
  2353. (1050, 1)          //  =   COPY(GID.EnableOnEntry;OFFSET(ACTIVE.CELL();1;0))
  2354. (1051, 0)        Localize.Copy5
  2355. (1051, 1)          //  =   COPY(GID.Return;OFFSET(ACTIVE.CELL();2;0))
  2356. (1052, 0)        
  2357. (1053, 0)        
  2358. (1054, 0)        Localize.Copy6
  2359. (1054, 1)          //  =   COPY(;poe.EnableOnEntry)
  2360. (1055, 0)        
  2361. (1056, 0)        
  2362. (1057, 0)        
  2363. (1058, 0)        
  2364. (1058, 21)        
  2365. (1059, 0)        
  2366. (1059, 21)        
  2367. (1060, 0)        
  2368. (1060, 21)        
  2369. (1061, 0)        
  2370. (1061, 21)        
  2371. (1062, 0)        GID.Return
  2372. (1063, 0)        GID.Copy
  2373. (1064, 0)        GID.Offset1
  2374. (1065, 0)        GID.Offset2
  2375. (1066, 0)        
  2376. (1067, 0)        
  2377. (1067, 1)          // Duplicate
  2378. (1068, 0)        
  2379. (1068, 2)                                        Mr. 
  2380. (1069, 0)        
  2381. (1069, 2)                                       Dr. 
  2382. (1070, 0)        
  2383. (1070, 2)                                        Mrs. 
  2384. (1071, 0)        
  2385. (1071, 2)                                          Miss 
  2386. (1072, 0)        
  2387. (1072, 2)                                            Ms. 
  2388. (1073, 0)        
  2389. (1074, 0)         
  2390. (1075, 0)        
  2391. (1076, 0)        
  2392. (1077, 0)        
  2393. (1078, 0)        
  2394. (1078, 2)                                   
  2395. (1079, 0)        
  2396. (1080, 0)        
  2397. (1081, 0)        
  2398. (1082, 0)        
  2399. (1083, 0)        
  2400. (1084, 0)        
  2401. (1085, 0)        
  2402. (1086, 0)        
  2403. (1087, 0)        GID.DisableOnEntry
  2404. (1088, 0)        GID.EnableOnEntry
  2405. (1089, 0)        GID.Select
  2406. (1090, 0)        GID.Run
  2407. (1091, 0)        GID.CallSkeleton
  2408. (1093, 1)             // determine whether MoveOnEntry is set (puts 0/1 (no/yes) result in tts.MoveOnEntry).
  2409. (1094, 0)        SetMoveOnEntryP1
  2410. (1094, 1)        SetMoveOnEntryP1
  2411. (1095, 0)        smoe.StartPos
  2412. (1096, 0)        
  2413. (1097, 0)        
  2414. (1098, 0)        
  2415. (1099, 0)        
  2416. (1100, 0)        
  2417. (1100, 1)        
  2418. (1101, 0)        
  2419. (1101, 1)        
  2420. (1102, 0)        SetMoveOnEntryP2
  2421. (1102, 1)        SetMoveOnEntryP2
  2422. (1103, 0)        smoe.EndPos
  2423. (1104, 0)        
  2424. (1105, 0)        
  2425. (1106, 0)        
  2426. (1107, 0)        
  2427. (1108, 0)        
  2428. (1109, 0)        
  2429. (1109, 1)        
  2430. (1110, 0)        
  2431. (1110, 1)        
  2432. (1111, 0)        SetMoveOnEntryP3
  2433. (1111, 1)        SetMoveOnEntryP3
  2434. (1112, 0)        
  2435. (1113, 0)        
  2436. (1114, 0)        
  2437. (1117, 0)        GetMenus
  2438. (1117, 1)        GetMenus
  2439. (1118, 0)        
  2440. (1118, 1)          //  To support localization,  we obtain the menu items and descriptions from xlrdr.dll which has them stored in its .RC file.
  2441. (1119, 0)        
  2442. (1119, 1)          //  The menus may contain the & character and also, if there are two contiguous spaces in the menu string, the last character together with a cntrl key indicate an accelerator (such as cntrl+N for proof range)
  2443. (1120, 0)        
  2444. (1120, 1)          //  At first we get the raw menu information, and then we strip out the extra characters down below when we actually set up the menus.
  2445. (1121, 0)        
  2446. (1121, 1)        
  2447. (1122, 0)        
  2448. (1123, 0)        
  2449. (1124, 0)        
  2450. (1125, 0)        
  2451. (1126, 0)        
  2452. (1127, 0)        
  2453. (1128, 0)        
  2454. (1129, 0)        
  2455. (1129, 1)        
  2456. (1130, 0)        
  2457. (1131, 0)        
  2458. (1132, 0)        
  2459. (1133, 0)        
  2460. (1134, 0)        
  2461. (1135, 0)        
  2462. (1136, 0)        
  2463. (1137, 0)        
  2464. (1137, 1)        
  2465. (1138, 0)        
  2466. (1139, 0)        GM.Proof
  2467. (1140, 0)        
  2468. (1141, 0)        GM.OnEnter
  2469. (1142, 0)        
  2470. (1143, 0)        
  2471. (1144, 0)        GM.Range
  2472. (1145, 0)        
  2473. (1146, 0)        
  2474. (1147, 0)        GM.Stop
  2475. (1148, 0)        
  2476. (1149, 0)        
  2477. (1150, 0)        GM.Resume
  2478. (1151, 0)        
  2479. (1152, 0)        
  2480. (1153, 0)        GM.Volume
  2481. (1154, 0)        
  2482. (1155, 0)        
  2483. (1156, 0)        GM.Options
  2484. (1157, 0)        
  2485. (1158, 0)        
  2486. (1159, 0)        
  2487. (1160, 0)        
  2488. (1160, 1)        
  2489. (1161, 0)        
  2490. (1166, 0)        SetMatchTable
  2491. (1166, 1)        
  2492. (1167, 0)        
  2493. (1167, 1)          // This is where we set up the format remapping table
  2494. (1168, 0)        
  2495. (1169, 0)        
  2496. (1170, 0)        
  2497. (1171, 0)        
  2498. (1172, 0)        SMT.FormatRed
  2499. (1172, 1)        0
  2500. (1173, 0)        SMT.Red
  2501. (1173, 1)        
  2502. (1174, 0)        SMT.Cur1
  2503. (1174, 1)        
  2504. (1175, 0)        SMT.Cur3
  2505. (1175, 1)        
  2506. (1176, 0)        
  2507. (1176, 1)        
  2508. (1177, 0)        
  2509. (1178, 0)        
  2510. (1179, 0)        
  2511. (1180, 0)        
  2512. (1181, 0)        
  2513. (1182, 0)        
  2514. (1183, 0)        SMT.DecType
  2515. (1183, 1)          //  Unclear how Intl.TrailingCur0 affects the format, but commented out IF statement below is wrong.
  2516. (1184, 0)        
  2517. (1185, 0)        
  2518. (1185, 1)          //=   IF(Intl.TrailingCur0,SET.VALUE(SMT.DecType,Intl.0),SET.VALUE(SMT.DecType,Intl.Number))
  2519. (1186, 0)        
  2520. (1187, 0)        
  2521. (1188, 0)        
  2522. (1189, 0)        
  2523. (1189, 1)        
  2524. (1190, 0)        
  2525. (1191, 0)        
  2526. (1192, 0)        SMT.Neg
  2527. (1192, 1)        
  2528. (1193, 0)        
  2529. (1194, 0)        
  2530. (1195, 0)        
  2531. (1196, 0)        
  2532. (1197, 0)        
  2533. (1198, 0)        
  2534. (1199, 0)        
  2535. (1200, 0)        
  2536. (1201, 0)        
  2537. (1202, 0)        
  2538. (1203, 0)        
  2539. (1204, 0)        
  2540. (1205, 0)        
  2541. (1206, 0)        
  2542. (1207, 0)        
  2543. (1208, 0)        
  2544. (1209, 0)        
  2545. (1210, 0)        
  2546. (1211, 0)        
  2547. (1212, 0)        
  2548. (1213, 0)        
  2549. (1214, 0)        
  2550. (1215, 0)        
  2551. (1216, 0)        
  2552. (1217, 0)        
  2553. (1218, 0)        
  2554. (1219, 0)        
  2555. (1220, 0)        
  2556. (1221, 0)        
  2557. (1222, 0)        
  2558. (1223, 0)        
  2559. (1224, 0)        
  2560. (1225, 0)        
  2561. (1225, 1)        
  2562. (1226, 0)        
  2563. (1227, 0)        
  2564. (1228, 0)        
  2565. (1229, 0)        
  2566. (1229, 1)          //=COPY(Lookup_Table,OFFSET(Match_Table,0,0,ROWS(Lookup_Table)))
  2567. (1230, 0)        
  2568. (1230, 1)        
  2569. (1231, 0)        
  2570. (1231, 1)          //=IF(Intl.ExcelCountry*Intl.WindowsCountry>1)
  2571. (1232, 0)        
  2572. (1233, 0)        
  2573. (1234, 0)        
  2574. (1235, 0)        
  2575. (1236, 0)        
  2576. (1237, 0)        
  2577. (1238, 0)        
  2578. (1239, 0)        
  2579. (1240, 0)        
  2580. (1241, 0)        
  2581. (1241, 1)          //=END.IF()
  2582. (1242, 0)        
  2583. (1243, 0)        
  2584. (1244, 0)        
  2585. (1245, 0)        
  2586. (1245, 1)          //=COPY(OFFSET(Lookup_Table,11,0,1,1),OFFSET(Match_Table,9,0,2,1))
  2587. (1246, 0)        
  2588. (1247, 0)        
  2589. (1248, 0)        
  2590. (1248, 1)          //=COPY(OFFSET(Lookup_Table,14,0,1,1),OFFSET(Match_Table,12,0,2,1))
  2591. (1249, 0)        
  2592. (1250, 0)        
  2593. (1251, 0)        
  2594. (1251, 1)          //=COPY(OFFSET(Lookup_Table,2,0,1,1),OFFSET(Match_Table,18,0,2,1))
  2595. (1252, 0)        
  2596. (1253, 0)        
  2597. (1254, 0)        
  2598.