I use Excel2latex to generate tables, and for some reason I keep getting the wrong outside borders.
This is my code:
\begin{table}[htbp]
\centering
\caption{Add caption}
\begin{tabular}{|rcc|r|r|r|}
\toprule
& & \multicolumn{3}{l}{\textbf{Coal Resources Summary (Mt)}} & \\
\midrule
\multicolumn{1}{|l|}{Seam} & \multicolumn{1}{c|}{Depth(m)} & \multicolumn{1}{l|}{Thickness (m)} & \multicolumn{1}{l|}{Measured} & \multicolumn{1}{c|}{Indicated} & \multicolumn{1}{l|}{Inferred} \\
\midrule
\multicolumn{1}{|l|}{No. 1} & \multicolumn{1}{r|}{} & \multicolumn{1}{r|}{4} & 14.5 & 0.7 & 7 \\
\cmidrule{1-1}\cmidrule{3-6} \multicolumn{1}{|l|}{No. 2} & \multicolumn{1}{c|}{<400} & \multicolumn{1}{r|}{10} & 41 & 2.6 & 24 \\
\cmidrule{1-1}\cmidrule{3-6} \multicolumn{1}{|l|}{No. 3} & \multicolumn{1}{r|}{} & \multicolumn{1}{r|}{8} & 32.8 & \multicolumn{1}{c|}{-} & 21 \\
\midrule
& Total & & 88.3 & 3.3 & 52 \\
\midrule
& \multicolumn{2}{c|}{\textbf{Total (rounded)}} & \textbf{90} & \textbf{3} & \textbf{50} \\
\bottomrule
\end{tabular}%
\label{tab:crs}%
\end{table}%
Any help?



booktabs? – Gaussler Jul 23 '21 at 14:21booktabsis right. Vertical lines are considered bad style nowadays. – Gaussler Jul 23 '21 at 15:00