Hi all, i have a range in a worksheet which i want to copy to another worksheet when i click on a command button, in the same worksheet. Unfortunately, the command button lies within the range. Thus whenever i click the button, the button gets copied over too. How can i prevent the button from being copied over in vba?
I've tried recording macro while copying over with paste special, xlFormats, xlValues.
If i do it manually in excel, the button doesn't gets copied over. However using the same codes recorded by the macro recorder, the button still gets copied over. Any ideas?
Thanks
excel 2003
Shie Boon
I've tried recording macro while copying over with paste special, xlFormats, xlValues.
If i do it manually in excel, the button doesn't gets copied over. However using the same codes recorded by the macro recorder, the button still gets copied over. Any ideas?
Thanks
excel 2003
Shie Boon