howto:raccontests
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
howto:raccontests [2020/11/25 21:15] – va7fi | howto:raccontests [2020/12/04 22:41] – va7fi | ||
---|---|---|---|
Line 3: | Line 3: | ||
<WRAP center round info 85%> | <WRAP center round info 85%> | ||
- | I just updated the spreadsheet from Cabrillo V3.0 to [[https:// | + | I just updated the spreadsheet from Cabrillo V3.0 to [[https:// |
</ | </ | ||
Line 55: | Line 55: | ||
END-OF-LOG: | END-OF-LOG: | ||
</ | </ | ||
- | The first 21 lines give RAC all the information they need about the operator. | + | The first 21 lines give RAC all the information they need about the operator. |
</ | </ | ||
< | < | ||
Line 78: | Line 78: | ||
- | Here is the link to {{ :howto:rac_contests_v20201125.ods |download it}}. It is: | + | Here is the link to {{ :howto:rac_contests_v20201129.ods |download it}}. It is: |
<WRAP indent> | <WRAP indent> | ||
<WRAP round box 80%> | <WRAP round box 80%> | ||
Line 99: | Line 99: | ||
sub cabrillo | sub cabrillo | ||
+ | |||
'Get directory path from spreadsheet location. This will be used to create | 'Get directory path from spreadsheet location. This will be used to create | ||
Dim path as String | Dim path as String | ||
Line 107: | Line 108: | ||
dim Doc as object | dim Doc as object | ||
Doc = ThisComponent | Doc = ThisComponent | ||
- | | + | |
- | | + | |
- | + | 'General | |
- | ' | + | |
' | ' | ||
- | | + | |
+ | if MyCallsign = "" | ||
+ | MyCallsign = " | ||
+ | endif | ||
| | ||
Line 122: | Line 125: | ||
'Read " | 'Read " | ||
- | for i = 0 to 19 ' read first 20 rows as is. | + | for i = 0 to 1 ' read first 2 rows as is. |
- | print #num, Sheet2.getCellByPosition(0, | + | print #num, Sheet1.getCellByPosition(0, |
next | next | ||
+ | |||
+ | ' Row 3 needs to be upper case. | ||
+ | print #num, Sheet1.getCellByPosition(0, | ||
+ | |||
+ | for i = 3 to 19 ' | ||
+ | print #num, Sheet1.getCellByPosition(0, | ||
+ | next | ||
+ | |||
' | ' | ||
- | print #num, Sheet2.getCellByPosition(0, | + | print #num, Sheet1.getCellByPosition(0, |
- | | + | |
if Len(Soapbox) > 70 then | if Len(Soapbox) > 70 then | ||
truncated = " | truncated = " | ||
Line 135: | Line 146: | ||
endif | endif | ||
- | print #num, Sheet2.getCellByPosition(0, | + | print #num, Sheet1.getCellByPosition(0, |
' | ' | ||
Line 152: | Line 163: | ||
| | ||
- | | + | |
| | ||
- | | + | |
'read " | 'read " | ||
Line 161: | Line 172: | ||
UTC = " | UTC = " | ||
while UTC <> "" | while UTC <> "" | ||
- | Freq = Sheet1.getCellByPosition(0, | + | Freq = Sheet2.getCellByPosition(0, |
Freq = Format(Freq, | Freq = Format(Freq, | ||
Freq = space(6 - Len(Freq)) & Freq ' | Freq = space(6 - Len(Freq)) & Freq ' | ||
- | UTC = Sheet1.getCellByPosition(1, | + | UTC = Sheet2.getCellByPosition(1, |
- | Callsign = Sheet1.getCellByPosition(2, | + | Callsign = Sheet2.getCellByPosition(2, |
Callsign = Callsign & space(13 - Len(Callsign)) | Callsign = Callsign & space(13 - Len(Callsign)) | ||
- | RST = Sheet1.getCellByPosition(3, | + | RST = Sheet2.getCellByPosition(3, |
RST = space(3 - Len(RST)) & RST 'pad RST to 3 digits | RST = space(3 - Len(RST)) & RST 'pad RST to 3 digits | ||
- | Exch = Sheet1.getCellByPosition(4, | + | Exch = Sheet2.getCellByPosition(4, |
- | RSTGiven = Sheet1.getCellByPosition(5, | + | RSTGiven = Sheet2.getCellByPosition(5, |
RSTGiven = space(3 - Len(RSTGiven)) & RSTGiven | RSTGiven = space(3 - Len(RSTGiven)) & RSTGiven | ||
- | Mode = Sheet1.getCellByPosition(6, | + | Mode = Sheet2.getCellByPosition(6, |
' | ' | ||
Line 197: | Line 208: | ||
logline = logline & Exch | logline = logline & Exch | ||
- | print #num, logline | + | print #num, Ucase(logline) 'print logline to text file |
i = i + 1 ' | i = i + 1 ' | ||
- | UTC = Sheet1.getCellByPosition(1, | + | UTC = Sheet2.getCellByPosition(1, |
' | ' |