C
Carrot
Hi everyone,
A coworker came to me with an Excel sheet with dropdown controls on it
She wanted the dropdown control to not be visible when the sheet i
printed, while the selected data in the dropdown still be printed. Eas
enough, I thought, just gotta change the combobox properties.
Turns out it wasn't quite that easy. The dropdowns seem to be create
with something that vaguely resembles XML, but isn't quite that
either. As far as I can tell, this is the code that creates th
dropdown:
Code
-------------------
<v:shape id="_x0000_s1186" type="#_x0000_t201" style='position:absolute;
margin-left:.75pt;margin-top:99.75pt;width:52.5pt;height:15.75pt;z-index:42'
stroked="f" strokecolor="windowText [64]" o:insetmode="auto">
<o:lock v:ext="edit" rotation="t" text="t"/>
<![if excel]><x:ClientData ObjectType="Drop">
<x:SizeWithCells/>
<x:AutoLine>False</x:AutoLine>
<x:FmlaLink>$AB$45</x:FmlaLink>
<x:Val>0</x:Val>
<x:Min>0</x:Min>
<x:Max>22</x:Max>
<x:Inc>1</x:Inc>
<x
age>8</x
age>
<x
x>15</x
x>
<x:FmlaRange>$AA$17:$AA$46</x:FmlaRange>
<x:Sel>0</x:Sel>
<x:SelType>Single</x:SelType>
<x:LCT>Normal</x:LCT>
<x
ropStyle>Combo</x
ropStyle>
<x
ropLines>8</x
ropLines>
</x:ClientData>
<![endif]></v:shape
-------------------
So, what the heck is this? I've had a look at the MS Office XML schem
reference, but I can't find anything that looks like this. Of course
any hint on how I can hide the control when the sheet is printed woul
be really helpful, too.
Cheers
A coworker came to me with an Excel sheet with dropdown controls on it
She wanted the dropdown control to not be visible when the sheet i
printed, while the selected data in the dropdown still be printed. Eas
enough, I thought, just gotta change the combobox properties.
Turns out it wasn't quite that easy. The dropdowns seem to be create
with something that vaguely resembles XML, but isn't quite that
either. As far as I can tell, this is the code that creates th
dropdown:
Code
-------------------
<v:shape id="_x0000_s1186" type="#_x0000_t201" style='position:absolute;
margin-left:.75pt;margin-top:99.75pt;width:52.5pt;height:15.75pt;z-index:42'
stroked="f" strokecolor="windowText [64]" o:insetmode="auto">
<o:lock v:ext="edit" rotation="t" text="t"/>
<![if excel]><x:ClientData ObjectType="Drop">
<x:SizeWithCells/>
<x:AutoLine>False</x:AutoLine>
<x:FmlaLink>$AB$45</x:FmlaLink>
<x:Val>0</x:Val>
<x:Min>0</x:Min>
<x:Max>22</x:Max>
<x:Inc>1</x:Inc>
<x
<x
<x:FmlaRange>$AA$17:$AA$46</x:FmlaRange>
<x:Sel>0</x:Sel>
<x:SelType>Single</x:SelType>
<x:LCT>Normal</x:LCT>
<x
<x
</x:ClientData>
<![endif]></v:shape
-------------------
So, what the heck is this? I've had a look at the MS Office XML schem
reference, but I can't find anything that looks like this. Of course
any hint on how I can hide the control when the sheet is printed woul
be really helpful, too.
Cheers