ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   delete Ranges via macro (https://www.excelbanter.com/excel-programming/404181-delete-ranges-via-macro.html)

Miri

delete Ranges via macro
 
hi
i need to delete all the ranges that related to spesific sheet. how should i
do that?
i also need to copy all the ranges that related to spesific sheet to
another. how do i do that?

i found the way to delete it according to the name.... it is not good enough
for my needs...
ActiveWorkbook.Names("vvv").Delete
--
Miri Tz.

Nigel[_2_]

delete Ranges via macro
 
Turn on the macro recorder and do it manually. Review the recorded code to
see how it is possible.

--

Regards,
Nigel




"Miri" wrote in message
...
hi
i need to delete all the ranges that related to spesific sheet. how should
i
do that?
i also need to copy all the ranges that related to spesific sheet to
another. how do i do that?

i found the way to delete it according to the name.... it is not good
enough
for my needs...
ActiveWorkbook.Names("vvv").Delete
--
Miri Tz.




All times are GMT +1. The time now is 06:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com