Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Excel
123quattro
charting
crashesgpfs
datamap
excel
interopoledde
links
misc
newusers
printing
programming
querydao
sdk
setup
templates
worksheet.functions
  
 
date: Tue, 22 Apr 2008 15:28:01 -0700,    group: microsoft.public.excel.sdk        back       


Getting Data From Filtered Cells   
Hi,


I need to get the contents of the currently selected range of cells and pass 
it to the XLL. I've been doing xlCoerce from xltypeRef to xltypeMulti to 
convert the entire range to an internal structure that can be further 
processed by the XLL. 

However, if the AutoFilter is enabled, and some cells are invisible, 
xlCoerce still works as if these cells were visible - that is, it doesn't 
"understand" the filtering.

The question is: how to get the contents of the currently selected VISIBLE 
cells? Is there a way to determine whether a cell is visible (i.e. not 
filtered out) using the C API? Any workarounds?


Thanks,

Antony
date: Tue, 22 Apr 2008 15:28:01 -0700   author:   Antony

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us