_Range(s,Range)</a>
0151 <span class="comment">% apply range formatting to Excel</span>
0152 <span class="comment">% arguments in: s - structure of formatting information</span>
0153 <span class="comment">%               Range: handle to range interface</span>
0154 
0155 sFields = fieldnames(s);
0156 nFields = length(sFields);
0157 
0158 <span class="keyword">for</span> n = 1:nFields
0159     curField = sFields{n};
0160     <span class="keyword">try</span>
0161         Range.(curField) = s.(curField);
0162 