Re: How to select several cells
- To: mathgroup at smc.vnet.net
- Subject: [mg99196] Re: How to select several cells
- From: dh <dh at metrohm.com>
- Date: Wed, 29 Apr 2009 06:39:54 -0400 (EDT)
- References: <gt6fo2$rvr$1@smc.vnet.net>
Hi Yuri, if you can live with the rather simple mechanism of NotebookFind, you may use the "All" option. Here is an example: =========================== a=.;b=.; nb=CreateDocument[{ExpressionCell[a+12],ExpressionCell[b+Sqrt[b]],ExpressionCell[a 12],ExpressionCell[a /12],ExpressionCell[a Sqrt[b]]}]; s1=NotebookFind[nb,ToBoxes[a],All]; =========================== Daniel Yuri Kandrashkin wrote: > Hi, > > I wish to select several cells which have separate locations in the > Notebook by Kernel or FrontEnd functions. > One solution is tagging them by common tag and applying NotebookFind. > But this solution seems to be inefficient. Are there other ways? >