View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] akh2103@gmail.com is offline
external usenet poster
 
Posts: 28
Default adding more than one button to a userform at run-time

Hello--is there a way to add a variable number (more than one) of
control buttons to a userform at runtime? The prior posts in this
newsgroup seem to imply that this is impossible. What I would like to
do is add as many command buttons as there are column headings in a
sheet, and then delete corresponding columns when the button is
selected. LIstbox won't work because I want to delete columns, not rows
and there doesn't appear to be a columnsource property for listboxes.
Any ideas? -Abe