Hi keepitcool
sorry misread the Q.
Not sure that there is a diff in the BOUMDSHEET, but when I look @ the
diff between a Dialog Sheet and a Worksheets streams
they show
INDEX INDEX
CALCMODE CALCMODE
CALCCOUNT CALCCOUNT
REFMODE REFMODE
ITERATION ITERATION
DELTA DELTA
SAFERECALC SAFERECALC
PRINTHEADERS PRINTHEADERS
PRINTGRIDLINES PRINTGRIDLINES
GRIDSET GRIDSET
GUTS GUTS
DEFAULTROWHEIGHT DEFAULTROWHEIGHT
WSBOOL WSBOOL
HEADER HEADER
FOOTER FOOTER
HCENTER HCENTER
VCENTER VCENTER
SETUP SETUP
PROTECT DEFCOLWIDTH
DEFCOLWIDTH DIMENSIONS
DIMENSIONS ROW
MSODRAWING ROW
OBJ RK
FORMULA
So perhaps looking for differences, in this case
ROW and FORMULA
I beleive the ID is
ROW = hex 208
FORMULA = hex 006
???
keepITcool Wrote:
Ivan thnx.
I had already figured a needed to append a nullchar in my search.
so search an 85 00. And I realize I should dig a little deeper before
exiting the First Do/Loop
It's the BYTE 9 in the series that indicates the sheet type.
problem remains that for Dialog Sheets it will indicate a 0,
denoting a Worksheet.
How do i decide what's truely a Worksheet.
keepITcool
< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool
Ivan F Moala wrote :
Hi KeepItCool
Not sure if this helps you.....
The BOUNDSHEET record is formated as
85 0 0E 0 63 1B 0 0 0 0 6 0 Sheet name follows
where you have correctly ID the BOUNDSHEET ID = 85 hex (Constant ID)
and
0E = (variable) the offset to the next BOUNDSHEET data (hex 85)
6 = (variable) the Length of the sheet name.
So I gues you could search for this pattern
85 0 <byte 0 <byte <byte 0 0 0 0 <byte 0
--
Ivan F Moal
-----------------------------------------------------------------------
Ivan F Moala's Profile:
http://www.excelforum.com/member.php...nfo&userid=195
View this thread:
http://www.excelforum.com/showthread.php?threadid=27473