I have a code which clear several ranges on two sheets but it gives me attached error, can anyone suggests what,s the problem
error.PNGPlease Login or Register to view this content.
I have a code which clear several ranges on two sheets but it gives me attached error, can anyone suggests what,s the problem
error.PNGPlease Login or Register to view this content.
Last edited by Zahid0111; 03-28-2020 at 03:17 AM.
For starters, you have multiple spelling errors in your code.
"ClearContents" on the first line is fine, then "ClearContent" on the next two. Then finally, "ClearContetnts".
Ahh oops didnt saw that...well thank you Paul...
Thank you ...Just made the correction..it,s working now...
You're welcome. Also note that you can clear multiple ranges on the same worksheet in one line of code, e.g.
Please Login or Register to view this content.
Thank you paul..this works great
can you please help me with this: https://www.excelforum.com/excel-pro...ml#post5301562
Last edited by Zahid0111; 03-28-2020 at 04:05 AM.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
@alansidman Done...
sorry just saw your message now... thank you
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks