Specialized Pivot-like data

  • You might want to just amend that line anyway to avoid the debug error - something like:

    If n > 0 then
    Sheet2.Cells(2, 1).Resize(n, 5).Value = var
    msgbox "No matching data. Please make sure the dates in the data are not text!"
    End If

    Theory is when you know something, but it doesn’t work. Practice is when something works, but you don’t know why. Programmers combine theory and practice: nothing works and they don’t know why

  • Good to hear it is all sorted out !!! :)

    If you feel like saying "Thank You" for the help received, do not hesitate to click the "Smiley" icon, below, in the bottom right corner :)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!