for all the english users, here's a revised version of the macro, ensuring all terms and properties are in English : Sub Links() ' ' Links Macro ' Declaration of variables Dim n As Integer Dim i As Integer Dim x As Integer Dim NombreDeSources As Integer 'Program to be used with Zotero with document preferences: IEEE '///////////////////////////////////CHANGE HERE////////////////////////////////////////////////////// NombreDeSources = 61 'number of sources '//////////////////////////////////////////////////////////////////////////////////////////////////// For n = 1 To NombreDeSources 'Select the page Selection.GoTo What:=wdGoToPage, Which:=wdGoToNext, Name:=1 Selection.Find.ClearFormatting 'Search and select the sources With Selection.Find .Text = "[" & n & "]" .Replacement.Text = "" .Forward = True .Wrap = wdFindContinue .Format = False .MatchCase = False .MatchWholeWord = False .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False End With For x = 1 To 10 Selection.Find.Execute Selection.Font.ColorIndex = wdBlue 'change color of the numbers to blue (optional) Next x 'Create bookmarks With ActiveDocument.Bookmarks .Add Range:=Selection.Range, Name:="Source" & n .DefaultSorting = wdSortByName .ShowHidden = False End With 'Create links (a same source can be used up to 10 times for the program 'to always catch it, otherwise change the number after "For i = 1 To ...") Selection.GoTo What:=wdGoToPage, Which:=wdGoToNext, Name:=1 Selection.Find.ClearFormatting For i = 1 To 10 If Selection.Find.Execute And Not (Selection.Bookmarks.Exists("Source" & n)) Then Selection.InsertCrossReference ReferenceType:="Bookmark", ReferenceKind:= _ wdContentText, ReferenceItem:="Source" & n, InsertAsHyperlink:=True, _ IncludePosition:=False, SeparateNumbers:=False, SeparatorString:=" " End If Next i Next n End Sub
Hello, Thank you very much for this video. What if i need to use a different referencing style to IEEE, do i need to modify the code in the description for it to work?
Hello ! Well I used IEEE because it’s the only referencing style that has the same numérotation for both in text and in bibliography [n] so the links are easy to made in my code. Ofc if you want you can try yourself and change the code to make it work with an other referencing style, for now IEEE is the only one working
Ton montage est loin d'être beau ... La vidéo est en 480p, il y a des des bandes noires à cause de ton écran, les clips sont blury à souhait, etc ... D'un autre coté tu comptes te faire des vues en faisant de la pub sur des chaines assez fréquentées -_-' Même si le contenu était bon je ne te suivrais pas tout simplement parce que tu sembles ne pas être assez mature pour gérer une chaîne convenablement ...
Les gars qui disent "ouai c un cheater. Il boost ses levels..." Arreter d'etre jaloux il a bossé dur pour atteindre ce stade et vous jaloux comme vous êtes vous le critiquez pour le tant de mal qu'il a prit a augmenter ses levels, a faire son montage, à trouver les bonnes musiques... Il me desespérent ces personnes la...