I am attempting to clear out a range before I write to it. I tried this code but unfortunately it also clears out all the formating. any suggestions?
![]()
Range("SQLMatl").Clear Range("IQty").Clear Range("Comments").Clear Range("MatlQ").Clear
I am attempting to clear out a range before I write to it. I tried this code but unfortunately it also clears out all the formating. any suggestions?
![]()
Range("SQLMatl").Clear Range("IQty").Clear Range("Comments").Clear Range("MatlQ").Clear
Probably with clear.content
Notice my main language is not English.
I appreciate it, if you reply on my solution.
If you are satisfied with the solution, please mark the question solved.
You can add reputation by clicking on the star * add reputation.
As per Oeldere suggestion
![]()
Range("SQLMatl").ClearContents Range("IQty").ClearContents Range("Comments").ClearContents Range("MatlQ").ClearContents
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks