I am optimizing a very old macros code and I noticed that it does useless action to copy data from Sheet "Source" to "Test" and afterwards - to the right destination sheet "Overview".
Is there any way to get rid of an extra sheet "Test" and Selection, CutCopyMode, et cetra?
Dim i As Integer
   Dim m, n As Integer
   Rmin = Application.InputBox("Min row.")
   Rmax = Application.InputBox("Max row.")
   For i = Rmin To Rmax
    For j = 1 To 99
      Sheets("Source").Select
      Cells(i, j).Select
      Application.CutCopyMode = False
      Selection.Copy
      Sheets("Test").Select
      Cells(1, j).Select
      ActiveSheet.Paste
    Next j
      Sheets("Test").Select
      Range("A1:PK1").Select
       Selection.Copy
      Sheets("Overview").Select
      Range("A2").Select
      ActiveSheet.Paste
     Range("A3:I54").Select
     Selection.Copy
    Application.CutCopyMode = False
    Selection.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
    "C:\Users\...." & File & ".pdf" _
    , Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
    :=False, OpenAfterPublish:=False
    Next i
        Sheets("Source").Select
        Cells(Rmax, 1).Select
Thank you!
Add. information: Macros is used to create a PDF of each user selected row in the Sheet "Source", afterwards data form selection at Sheet "Overview" is used to create PDF. And I am new to the whole VBA environment, however, I try my best. I am already using the Application.ScreenUpdating to reduce run time.
 
     
    