View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jim May Jim May is offline
external usenet poster
 
Posts: 477
Default Using selections in VBA

selection = "Hello"

"GeorgeJ" wrote:


Suppose the user has selected several non-contiguous groups of cells, and
then he pushes a button which calls the VBA routine "Demo_Routine" What
would the code of "Demo_routine" look like if it were to put, say, to put
the word "Hello" into every cell in each of the selected groups?

Thanks

--
-regards