View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
k2sarah k2sarah is offline
external usenet poster
 
Posts: 6
Default programatically reference controls on spreadsheet

i am trying to loop through all the controls on a spreadsheet and set certain
properites. In a userform, i am able to accomplish this with the following
code
~ for each control
~userform.controls("button"&i).caption="asdf"

however, i am at a lose as to how to loop through the controls placed
directly on a worksheet as opposed to the userform.

any help would be appreciated

thks