--- xlHtml/xlHtml.c.orig	Sun Jun  3 22:37:46 2001
+++ xlHtml/xlHtml.c	Tue Jun  5 13:25:45 2001
@@ -692,8 +692,13 @@
 					ws_array[i]->ws_title.str, ws_array[i]->biggest_row, ws_array[i]->biggest_col);
 			}
 		}
-		else if (Xtract)
+		else if (Xtract) {
+			if(xr2 == MAX_ROWS)
+				xr2 = ws_array[xp]->biggest_row;
+			if(xc2 == MAX_COLS)
+				xc2 = ws_array[xp]->biggest_col;
 			OutputPartialTableAscii();
+		}
 	}
 	else
 	{
