還有一個問題,我聽了也三條線,
  在web上面看到的報表,如果直接複製貼到excel去,會不能加總。 
 
  本來是這樣寫的:
  response.write "<td>&nbsp;" & aryData_south(i,8) & "</td>"
 
  後來才知道原因是出在這個空格,
  加空格的目的本來是當空值的時候,讓它的框線依然會出現,
  沒想到這樣會不能加總。
 
  所以要變成這樣:
  if aryData_south(i,8) = "" then
   response.write "<td>&nbsp;</td>"
  else 
   response.write "<td>" & aryData_south(i,8) & "</td>"
  end if
 
  菁紋沒說我都不知道。
 
 
創作者介紹
創作者 舊東西 新想念 的頭像
Apple

舊東西 新想念

Apple 發表在 痞客邦 留言(1) 人氣( 10 )