Hello
Perhaps something like this.
It is based upon 'Excel 2004 AppleScript Reference' that you can obtain from the link below but NOT tested, for I don't have this application. Also Excel 2008 may vary.
(* hide rows 1 through 5, 20 through 25 and 30 through 40 *)
tell application "Excel"
tell active sheet
set hidden of range "1:5,20:25,30:40" to true -- hide
end tell
end tell
(* un-hide rows 1 through 5, 20 through 25 and 30 through 40 *)
tell application "Excel"
tell active sheet
set hidden of range "1:5,20:25,30:40" to false -- un-hide
end tell
end tell
cf.
http://www.microsoft.com/mac/developers/default.mspx
Excel2004AppleScriptRef.pdf
Table Suite > Table Suite Classes > Class: range (> properties > hidden)
p.331
Using the Excel Dictionary > How to reference cells and ranges
pp.15-18
Good luck,
H