Line-No. / Ref. | Code Line |
0001 | Public Function CopyReplace_TextStream_Fix(InFile, OutFile, NoteSubDirectory) |
0002 | 'This is a new module to read the html files and update the Notes directories |
0003 | 'It was based on http://www.tutorial-web.com/asp/fso/textstream |
0004 | Dim fso As FileSystemObject |
0005 | Dim tsTextFileIn As TextStream |
0006 | Dim tsTextFileOut As TextStream |
0007 | Dim strLine As String |
0008 | Dim MainFolder |
0009 | Dim FileCollection |
0010 | Dim File |
0011 | Dim Updated_Flag As String |
0012 | Set fso = CreateObject("Scripting.FileSystemObject") |
0013 | Set tsTextFileIn = fso.OpenTextFile(InFile, 1, False, 0) |
0014 | If Dir(OutFile) <> "" Then 'If we already have a file in the transfer directory, then zap it |
0015 | Kill OutFile |
0016 | End If |
0017 | Set tsTextFileOut = fso.CreateTextFile(OutFile, True, True) |
0018 | Updated_Flag = "No" |
0019 | Do Until tsTextFileIn.AtEndOfStream |
0020 | strLine = tsTextFileIn.ReadLine |
0021 | 'Translate the line for Notes Links |
0022 | strLine = ReplaceNoteLink_Fix(strLine, """Notes_", """Notes_Print", NoteSubDirectory, Updated_Flag, InFile) |
0023 | tsTextFileOut.WriteLine strLine |
0024 | Loop |
0025 | If Updated_Flag = "No" Then 'If we haven't updated the output file, then zap it |
0026 | Set tsTextFileOut = Nothing |
0027 | Kill OutFile |
0028 | Else |
0029 | Debug.Print Now() & " - "; OutFile |
0030 | End If |
0031 | End Function |
Line-No. / Ref. | Code Line |
0001 | Public Sub Historical_Note_Book_Links() |
0002 | Dim rst As Recordset |
0003 | Dim rst2 As Recordset |
0004 | Dim db As Database |
0005 | Dim fso As FileSystemObject |
0006 | Dim tsTextFileIn As TextStream |
0007 | Dim strLine As String |
0008 | Dim InFile As String |
0009 | Dim DirectoryName As String |
0010 | Dim MainFolder |
0011 | Dim FileCollection |
0012 | Dim File |
0013 | Dim File_Name As String |
0014 | Dim Note_ID As String |
0015 | Dim Sub_ID As String |
0016 | Dim Last_Section As Integer |
0017 | Dim Next_Section As Integer |
0018 | Dim x As Long |
0019 | Dim z As Long |
0020 | Dim zz As Long |
0021 | Dim zzz As Long |
0022 | Dim strSection As String |
0023 | Dim strBook As String |
0024 | Set db = CurrentDb |
0025 | Set rst = db.OpenRecordset("Select * FROM Note_Book_Links WHERE Note = 0;") |
0026 | Set fso = CreateObject("Scripting.FileSystemObject") |
0027 | strSection = " |
0028 | DirectoryName = TheoWebsiteRoot & "\Secure_Jen\Notes_8\" |
0029 | Set MainFolder = fso.GetFolder(DirectoryName) |
0030 | Set FileCollection = MainFolder.Files |
0031 | For Each File In FileCollection |
0032 | File_Name = File.Name |
0033 | Sub_ID = "" |
0034 | Note_ID = Find_NoteID(File_Name, Sub_ID) 'Determine Note_ID |
0035 | If Note_ID = "" Then |
0036 | Debug.Print Now() & " - "; File_Name & ", ID not Found" |
0037 | Else |
0038 | InFile = DirectoryName & File_Name |
0039 | Set tsTextFileIn = fso.OpenTextFile(InFile, 1, False, 0) 'Open the file |
0040 | Debug.Print Now() & " - "; InFile & ", " & Note_ID & ", " & Sub_ID |
0041 | If Sub_ID <> "" Then 'For archived Notes only, rummage for Books |
0042 | Last_Section = 0 |
0043 | Do Until tsTextFileIn.AtEndOfStream |
0044 | 'NOTE: May need to watch out for REFERENCES & READING LIST, to avoid multiple counting |
0045 | 'ALSO: Need to put for the various sections at the end of a Note, to make hyerlinking easier |
0046 | x = 1 |
0047 | zzz = 1 |
0048 | strLine = tsTextFileIn.ReadLine |
0049 | z = InStr(x, strLine, strSection) |
0050 | Do While zzz > 0 |
0051 | zzz = Find_Str(Mid(strLine, x, Len(strLine)), strBook, "BookSummaries/", "BookSummary_", "BookSummary_", ".htm") 'LOOK FOR BookSummaries/BookSummary_yy/BookSummary_xxxx.htm |
0052 | x = x + zzz |
0053 | If zzz > 0 And Len(strBook) < 8 Then 'If found, and not "odd" |
0054 | Do While z < x 'Find the next Section |
0055 | If z > 0 Then |
0056 | z = InStr(z, strLine, strSection) |
0057 | End If |
0058 | If z > 0 Then |
0059 | zz = InStr(z, strLine, """>") |
0060 | Next_Section = Mid(strLine, z + Len(strSection), zz - z - Len(strSection)) |
0061 | Debug.Print Now() & " - "; Mid(strLine, z, 2 * Len(strSection)) & ", " & Next_Section |
0062 | If z < x Then |
0063 | Last_Section = Next_Section |
0064 | End If |
0065 | z = z + 1 |
0066 | Else |
0067 | z = Len(strLine) + 1 |
0068 | End If |
0069 | Loop |
0070 | 'Write out a record |
0071 | '... if not already there |
0072 | Set rst2 = db.OpenRecordset("SELECT Note_Book_Links.Note, Note_Book_Links.Note_Ref, Note_Book_Links.Book, Note_Book_Links.Timestamp FROM Note_Book_Links WHERE (((Note_Book_Links.Note)=" & Note_ID & ") AND ((Note_Book_Links.Note_Ref)=" & Last_Section & ") AND ((Note_Book_Links.Book)=" & strBook & ") AND ((Note_Book_Links.Timestamp)=" & Sub_ID & "));") |
0073 | If rst2.EOF Then |
0074 | rst.AddNew |
0075 | rst.Fields(0) = Note_ID |
0076 | rst.Fields(1) = Last_Section 'Section ... this seems to be the notes sequence number, not the section number |
0077 | rst.Fields(2) = strBook |
0078 | rst.Fields(3) = Sub_ID |
0079 | rst.Update |
0080 | End If |
0081 | Set rst2 = Nothing |
0082 | Debug.Print Now() & " - "; strBook |
0083 | End If |
0084 | Loop |
0085 | Loop |
0086 | End If |
0087 | End If |
0088 | Next |
0089 | Set rst = Nothing |
0090 | Set MainFolder = Nothing |
0091 | Set FileCollection = Nothing |
0092 | End Sub |
Line-No. / Ref. | Code Line |
0001 | Public Sub Historical_Note_Paper_Links() |
0002 | Dim rst As Recordset |
0003 | Dim rst2 As Recordset |
0004 | Dim db As Database |
0005 | Dim fso As FileSystemObject |
0006 | Dim tsTextFileIn As TextStream |
0007 | Dim strLine As String |
0008 | Dim InFile As String |
0009 | Dim DirectoryName As String |
0010 | Dim MainFolder |
0011 | Dim FileCollection |
0012 | Dim File |
0013 | Dim File_Name As String |
0014 | Dim Note_ID As String |
0015 | Dim Sub_ID As String |
0016 | Dim Last_Section As Integer |
0017 | Dim Next_Section As Integer |
0018 | Dim x As Long |
0019 | Dim z As Long |
0020 | Dim zz As Long |
0021 | Dim zzz As Long |
0022 | Dim strSection As String |
0023 | Dim strPaper As String |
0024 | Set db = CurrentDb |
0025 | Set rst = db.OpenRecordset("Select * FROM Note_Paper_Links WHERE Note = 0;") |
0026 | Set fso = CreateObject("Scripting.FileSystemObject") |
0027 | strSection = " |
0028 | DirectoryName = TheoWebsiteRoot & "\Secure_Jen\Notes_8\" |
0029 | Set MainFolder = fso.GetFolder(DirectoryName) |
0030 | Set FileCollection = MainFolder.Files |
0031 | For Each File In FileCollection |
0032 | File_Name = File.Name |
0033 | Sub_ID = "" |
0034 | Note_ID = Find_NoteID(File_Name, Sub_ID) 'Determine Note_ID |
0035 | If Note_ID = "" Then |
0036 | Debug.Print Now() & " - "; File_Name & ", ID not Found" |
0037 | Else |
0038 | InFile = DirectoryName & File_Name |
0039 | Set tsTextFileIn = fso.OpenTextFile(InFile, 1, False, 0) 'Open the file |
0040 | Debug.Print Now() & " - "; InFile & ", " & Note_ID & ", " & Sub_ID |
0041 | If Sub_ID <> "" Then 'For archived Notes only, rummage for Papers |
0042 | Last_Section = 0 |
0043 | Do Until tsTextFileIn.AtEndOfStream |
0044 | 'NOTE: May need to watch out for REFERENCES & READING LIST, to avoid multiple counting |
0045 | 'ALSO: Need to put for the various sections at the end of a Note, to make hyerlinking easier |
0046 | x = 1 |
0047 | zzz = 1 |
0048 | strLine = tsTextFileIn.ReadLine |
0049 | z = InStr(x, strLine, strSection) |
0050 | Do While zzz > 0 |
0051 | zzz = Find_Str(Mid(strLine, x, Len(strLine)), strPaper, "PaperSummaries/", "PaperSummary_", "PaperSummary_", ".htm") 'LOOK FOR PaperSummaries/PaperSummary_yy/PaperSummary_xxxx.htm |
0052 | x = x + zzz |
0053 | If zzz > 0 And Len(strPaper) < 8 Then 'If found, and not "odd" |
0054 | Do While z < x 'Find the next Section |
0055 | If z > 0 Then |
0056 | z = InStr(z, strLine, strSection) |
0057 | End If |
0058 | If z > 0 Then |
0059 | zz = InStr(z, strLine, """>") |
0060 | Next_Section = Mid(strLine, z + Len(strSection), zz - z - Len(strSection)) |
0061 | Debug.Print Now() & " - "; Mid(strLine, z, 2 * Len(strSection)) & ", " & Next_Section |
0062 | If z < x Then |
0063 | Last_Section = Next_Section |
0064 | End If |
0065 | z = z + 1 |
0066 | Else |
0067 | z = Len(strLine) + 1 |
0068 | End If |
0069 | Loop |
0070 | 'Write out a record |
0071 | '... if not already there |
0072 | Set rst2 = db.OpenRecordset("SELECT Note_Paper_Links.Note, Note_Paper_Links.Note_Ref, Note_Paper_Links.Paper, Note_Paper_Links.Timestamp FROM Note_Paper_Links WHERE (((Note_Paper_Links.Note)=" & Note_ID & ") AND ((Note_Paper_Links.Note_Ref)=" & Last_Section & ") AND ((Note_Paper_Links.Paper)=" & strPaper & ") AND ((Note_Paper_Links.Timestamp)=" & Sub_ID & "));") |
0073 | If rst2.EOF Then |
0074 | rst.AddNew |
0075 | rst.Fields(0) = Note_ID |
0076 | rst.Fields(1) = Last_Section 'Section ... this seems to be the notes sequence number, not the section number |
0077 | rst.Fields(2) = strPaper |
0078 | rst.Fields(3) = Sub_ID |
0079 | rst.Update |
0080 | End If |
0081 | Set rst2 = Nothing |
0082 | Debug.Print Now() & " - "; strPaper |
0083 | End If |
0084 | Loop |
0085 | Loop |
0086 | End If |
0087 | End If |
0088 | Next |
0089 | Set rst = Nothing |
0090 | Set MainFolder = Nothing |
0091 | Set FileCollection = Nothing |
0092 | End Sub |
Line-No. / Ref. | Code Line |
0001 | Public Sub Notes_Move_Fix_Control() |
0002 | 'This is a new module to read the html files and update the Notes directories |
0003 | 'It determines errors in the module Notes_Move_Control and fixes them |
0004 | 'Needs to run as often as required, by directory |
0005 | Dim fso As FileSystemObject |
0006 | Dim tsTextFileIn As TextStream |
0007 | Dim InFile As String |
0008 | Dim OutFile As String |
0009 | Dim DirectoryName As String |
0010 | Dim MainFolder |
0011 | Dim FileCollection |
0012 | Dim File |
0013 | Dim File_Name As String |
0014 | Dim Note_ID As String |
0015 | Dim New_Directory As String |
0016 | Dim Out_Directory As String |
0017 | Set fso = CreateObject("Scripting.FileSystemObject") |
0018 | DirectoryName = TheoWebsiteRoot & "\Secure_Jen\Notes_8\" |
0019 | Out_Directory = "C:\Theo's Files\Website_Fixes\" |
0020 | Set MainFolder = fso.GetFolder(DirectoryName) |
0021 | Set FileCollection = MainFolder.Files |
0022 | For Each File In FileCollection |
0023 | File_Name = File.Name |
0024 | Note_ID = Find_NoteID(File_Name) 'Determine Note_ID |
0025 | If Note_ID = "" Then |
0026 | Debug.Print Now() & " - "; "ID not Found" |
0027 | Else |
0028 | InFile = DirectoryName & File_Name |
0029 | Set tsTextFileIn = fso.OpenTextFile(InFile, 1, False, 0) 'Open the file |
0030 | New_Directory = Find_New_Directory(Note_ID) 'Determine New Folder |
0031 | 'Convert the references in the file (copying as we go) |
0032 | OutFile = Out_Directory & File_Name |
0033 | OK = CopyReplace_TextStream_Fix(InFile, OutFile, New_Directory) |
0034 | Set tsTextFileIn = Nothing |
0035 | End If |
0036 | Next |
0037 | Set fso = Nothing |
0038 | End Sub |
Line-No. / Ref. | Code Line |
0001 | Public Sub Query_Name_Fragments_GEN() |
0002 | 'This Sub tries to solve the Documentation problem of query names being constructed in Code by the addition of suffixes |
0003 | Dim rsTableToRead As Recordset |
0004 | Dim rsTableToWrite As Recordset |
0005 | Dim Current_Query As String |
0006 | Dim Previous_Query As String |
0007 | Dim Query_Fragment As String |
0008 | DoCmd.RunSQL ("DELETE Query_Name_Fragments.* FROM Query_Name_Fragments;") |
0009 | Set rsTableToRead = CurrentDb.OpenRecordset("SELECT Query_Name FROM Query_Definitions ORDER BY Query_Name;") |
0010 | Set rsTableToWrite = CurrentDb.OpenRecordset("SELECT Query_Name_Fragments.* FROM Query_Name_Fragments WHERE Query_Name = ""Zzzzzz"";") |
0011 | rsTableToRead.MoveFirst |
0012 | Previous_Query = "ZZZ" |
0013 | Do While Not rsTableToRead.EOF |
0014 | Current_Query = rsTableToRead.Fields(0).Value |
0015 | If Left(Current_Query, Len(Previous_Query)) = Previous_Query Then |
0016 | Query_Fragment = Mid(Current_Query, Len(Previous_Query) + 1, Len(Current_Query)) |
0017 | If Left(Query_Fragment, 1) = " " Or Left(Query_Fragment, 1) = "_" Then |
0018 | 'Add record to Query_Name_Fragments table |
0019 | On Error Resume Next |
0020 | rsTableToWrite.AddNew |
0021 | rsTableToWrite.Fields(0).Value = Current_Query |
0022 | rsTableToWrite.Fields(1).Value = Query_Fragment |
0023 | rsTableToWrite.Fields(2).Value = Previous_Query |
0024 | rsTableToWrite.Update |
0025 | On Error GoTo Eek: |
0026 | End If |
0027 | End If |
0028 | Previous_Query = Current_Query |
0029 | rsTableToRead.MoveNext |
0030 | Loop |
0031 | Exit Sub |
0032 | Eek: |
0033 | MsgBox ("Error """ & Err.Description & """ (" & Err.Number & ") has occurred. ") |
0034 | End Sub |
Line-No. / Ref. | Code Line |
0001 | Public Function ReplaceNoteLink_Fix(strString, Marker, Ignore_String, NoteSubDirectory, Updated_Flag, InFile) |
0002 | 'This module adds Pre_Addition pror to Marker anywhere in strString, provided Ignore_String doesn't start in the same place as Marker |
0003 | 'The primary usage is to convert references in Notes consequent on adding an extra level of directory structure |
0004 | Dim lenString As Long |
0005 | Dim lenMarker As Long |
0006 | Dim lenIgn As Long |
0007 | Dim strTemp As String |
0008 | Dim x As Long |
0009 | Dim Y As Long |
0010 | Dim z As Long |
0011 | Dim zz As Long |
0012 | Dim NoteID As String |
0013 | Dim SubDir As Long |
0014 | Dim SearchString As String |
0015 | Dim lenSearchString As String |
0016 | strTemp = strString |
0017 | lenString = Len(strTemp) |
0018 | lenMarker = Len(Marker) |
0019 | lenIgn = Len(Ignore_String) |
0020 | x = 1 |
0021 | Y = 1 |
0022 | 'Check for inter-Notes link problems .. |
0023 | Do While Y > 0 |
0024 | Y = InStr(x, strTemp, Marker) |
0025 | If Y > 0 Then |
0026 | If Mid(strTemp, Y, lenIgn) = Ignore_String Then |
0027 | x = Y + 1 |
0028 | Else |
0029 | 'Check for link to Jump Table |
0030 | If Mid(strTemp, Y + 1, 10) = "Notes_Jump" Then |
0031 | strTemp = Left(strTemp, Y) & "../" & Mid(strTemp, Y + 1, Len(strTemp) + 3) |
0032 | Debug.Print Now() & " - "; Mid(strTemp, IIf(Y > 40, (Y - 40), 1), 80) |
0033 | Debug.Print Now() & " - "; "Jump Table" |
0034 | Updated_Flag = "Yes" |
0035 | Else |
0036 | z = InStr(Y + lenMarker, strTemp, "_") 'Archived Note |
0037 | zz = InStr(Y + lenMarker, strTemp, ".") 'Unarchived Note |
0038 | If z + zz > 0 Then |
0039 | If z > zz Then |
0040 | z = zz |
0041 | End If |
0042 | NoteID = Mid(strTemp, Y + lenMarker, z - Y - lenMarker) |
0043 | SubDir = Find_New_Directory(NoteID) |
0044 | If NoteSubDirectory <> SubDir Then |
0045 | 'Out of patch link (Note - doesn't deal with secure vs non-secure notes) |
0046 | strTemp = Left(strTemp, Y) & "../Notes_" & SubDir & "/" & Mid(strTemp, Y + 1, Len(strTemp) + 3) |
0047 | Debug.Print Now() & " - "; Mid(strTemp, IIf(Y > 40, (Y - 40), 1), 80) |
0048 | Debug.Print Now() & " - "; "Out of Patch" |
0049 | Updated_Flag = "Yes" |
0050 | End If |
0051 | End If |
0052 | End If |
0053 | x = Y + 1 |
0054 | End If |
0055 | End If |
0056 | Loop |
0057 | x = 1 |
0058 | Y = 1 |
0059 | SearchString = " |
0060 | lenSearchString = Len(SearchString) |
0061 | 'Check for extra-Notes link problems .. |
0062 | Do While Y > 0 |
0063 | Y = InStr(x, strTemp, SearchString) |
0064 | If Y > 0 Then |
0065 | 'Exclude boring links |
0066 | If (Mid(strTemp, Y + lenSearchString, 4) = "Note") Or (Mid(strTemp, Y + lenSearchString, 1) = "#") Or (Mid(strTemp, Y + lenSearchString, 4) = "http") Or (Mid(strTemp, Y + lenSearchString, 3) = "www") Or (Mid(strTemp, Y + lenSearchString, 6) = "../../") Or (Mid(strTemp, Y + lenSearchString, 1) = " ") Or (Mid(strTemp, Y + lenSearchString, 6) = "mailto") Then |
0067 | Else |
0068 | If (Mid(strTemp, Y + lenSearchString, 2) = "..") And (Mid(strTemp, Y + lenSearchString, 23) <> "../PaperCatalogIdentity") And (Mid(strTemp, Y + lenSearchString, 8) <> "../tract") And (Mid(strTemp, Y + lenSearchString, 13) <> "../Christians") And (Mid(strTemp, Y + lenSearchString, 11) <> "../Termplan") And (Mid(strTemp, Y + lenSearchString, 14) <> "../Carthusians") And (Mid(strTemp, Y + lenSearchString, 11) <> "../Database") And (Mid(strTemp, Y + lenSearchString, 14) <> "../Parkminster") And (Mid(strTemp, Y + lenSearchString, 6) <> "../OBT") And (Mid(strTemp, Y + lenSearchString, 15) <> "../Dissertation") And (Mid(strTemp, Y + lenSearchString, 8) <> "../Locke") And (Mid(strTemp, Y + lenSearchString, 9) <> "../Bridge") And (Mid(strTemp, Y + lenSearchString, 6) <> "../EBU") And (Mid(strTemp, Y + lenSearchString, 13) <> "../Convention") Then |
0069 | If (Mid(strTemp, Y + lenSearchString, 9) <> "../Notes_") Then |
0070 | Debug.Print Now() & " - "; Mid(strTemp, IIf(Y > 40, (Y - 40), 1), 80) |
0071 | Debug.Print Now() & " - "; InFile & ", ../ offset ... check if sufficient" |
0072 | End If |
0073 | Else |
0074 | strTemp = Left(strTemp, Y + lenSearchString - 1) & "../" & Mid(strTemp, Y + lenSearchString, Len(strTemp) + 3) |
0075 | Debug.Print Now() & " - "; Mid(strTemp, IIf(Y > 40, (Y - 40), 1), 80) |
0076 | Debug.Print Now() & " - "; "Updated" |
0077 | Updated_Flag = "Yes" |
0078 | End If |
0079 | End If |
0080 | x = Y + 1 |
0081 | End If |
0082 | Loop |
0083 | x = 1 |
0084 | Y = 1 |
0085 | SearchString = " |
0086 | lenSearchString = Len(SearchString) |
0087 | 'Check for extra-Notes link problems .. |
0088 | Do While Y > 0 |
0089 | Y = InStr(x, strTemp, SearchString) |
0090 | If Y > 0 Then |
0091 | 'Exclude boring links |
0092 | If (Mid(strTemp, Y + lenSearchString, 4) = "Note") Or (Mid(strTemp, Y + lenSearchString, 1) = "#") Or (Mid(strTemp, Y + lenSearchString, 4) = "http") Or (Mid(strTemp, Y + lenSearchString, 3) = "www") Or (Mid(strTemp, Y + lenSearchString, 6) = "../../") Or (Mid(strTemp, Y + lenSearchString, 1) = " ") Or (Mid(strTemp, Y + lenSearchString, 6) = "mailto") Then |
0093 | Else |
0094 | If (Mid(strTemp, Y + lenSearchString, 2) = "..") And (Mid(strTemp, Y + lenSearchString, 23) <> "../PaperCatalogIdentity") And (Mid(strTemp, Y + lenSearchString, 8) <> "../tract") And (Mid(strTemp, Y + lenSearchString, 13) <> "../Christians") And (Mid(strTemp, Y + lenSearchString, 11) <> "../Termplan") And (Mid(strTemp, Y + lenSearchString, 14) <> "../Carthusians") And (Mid(strTemp, Y + lenSearchString, 11) <> "../Database") And (Mid(strTemp, Y + lenSearchString, 14) <> "../Parkminster") And (Mid(strTemp, Y + lenSearchString, 6) <> "../OBT") And (Mid(strTemp, Y + lenSearchString, 15) <> "../Dissertation") And (Mid(strTemp, Y + lenSearchString, 8) <> "../Locke") And (Mid(strTemp, Y + lenSearchString, 9) <> "../Bridge") And (Mid(strTemp, Y + lenSearchString, 6) <> "../EBU") And (Mid(strTemp, Y + lenSearchString, 13) <> "../Convention") Then |
0095 | If (Mid(strTemp, Y + lenSearchString, 9) <> "../Notes_") Then |
0096 | Debug.Print Now() & " - "; Mid(strTemp, IIf(Y > 40, (Y - 40), 1), 80) |
0097 | Debug.Print Now() & " - "; InFile & ", ../ offset ... check if sufficient" |
0098 | End If |
0099 | Else |
0100 | strTemp = Left(strTemp, Y + lenSearchString - 1) & "../" & Mid(strTemp, Y + lenSearchString, Len(strTemp) + 3) |
0101 | Debug.Print Now() & " - "; Mid(strTemp, IIf(Y > 40, (Y - 40), 1), 80) |
0102 | Debug.Print Now() & " - "; "Updated" |
0103 | Updated_Flag = "Yes" |
0104 | End If |
0105 | End If |
0106 | x = Y + 1 |
0107 | End If |
0108 | Loop |
0109 | ReplaceNoteLink_Fix = strTemp |
0110 | End Function |