title: Call different subs from different modules
body: <p>I'm trying to call the different subs in different modules from my main module.<br />
  When I do the <code>exit sub</code> at the end, only &quot;brief 1&quot; will be created.<br />
  If I don't put the <code>exit sub</code> after each call, it will make first &quot;brief1&quot;, and goes further and within the loop it will create for each row all of the letters instead of the one it needs.</p>
  <pre class="lang-vb prettyprint-override"><code>Dim r As Long
  
  r = 6
  Do Until IsEmpty(Cells(r, 1))
  
  With Sheet1
  
      If Sheet1.Range(&quot;C&quot; &amp; r) = &quot;Brief 1&quot; Then
          Rappelbrief_1
           
      ElseIf Sheet1.Range(&quot;C&quot; &amp; r) = &quot;Brief 2&quot; Then
          Rappelbrief_2
                           
      ElseIf Sheet1.Range(&quot;C&quot; &amp; r) = &quot;Brief 3&quot; Then
          Rappelbrief_3
                      
      ElseIf Sheet1.Range(&quot;C&quot; &amp; r) = &quot;Brief BA&quot; Then
          Brief_BA       
           
      ElseIf Sheet1.Range(&quot;C&quot; &amp; r) = &quot;Brief na tel contact&quot; Then
          Brief_opheffen_na_telefonisch_contact
  
      ElseIf Sheet1.Range(&quot;C&quot; &amp; r) = &quot;Brief tel. opheffing&quot; Then
          Brief_Tel_Opheffing
                                  
      ElseIf Sheet1.Range(&quot;C&quot; &amp; r) = &quot;Brief 1 + ophefform&quot; Then
          Rappelbrief_1
          Brief_opheffen_na_telefonisch_contact
          'Ophefform_PDF
                                      
      End If
  </code></pre>