I cannot find anything anywhere that helps me to address what is happening here.
I have data that I have sorted into four columns. The four columns are up to 1000 'rows' of four cells.
Once sorted, the code is supposed to copy that coalesced data to a new range of cells, but only the range of the four cells, IF there are no blanks in that range of four cells.
Basically I am trying to remove any "rows" (of 4 cells) that contain non-visible (or no) data. The rows marked with a red "X" in the left grouping.
What ends up happening is that it fills the new location with the last word that was pasted into the first location, under the previous code.
In the image below, the last cell that was populated in the creation of the left grouping, was the word "Acid".
When attempting to remove the rows with blanks, only that word is used to fill the entire available range in the new area. (Far exceeding the length of the expected result.
The right Red arrow is the last code where "Acid" is placed.
The bracketed code is where I am trying to remove the spaces (rows with a red "x" in the first image above.
I have tried this way, as well as more complex code, none of it works.
The more complex code just copies and pastes the existing data, including the rows with the spaces.
Any help would be greatly appreciated!
I have data that I have sorted into four columns. The four columns are up to 1000 'rows' of four cells.
Once sorted, the code is supposed to copy that coalesced data to a new range of cells, but only the range of the four cells, IF there are no blanks in that range of four cells.
Basically I am trying to remove any "rows" (of 4 cells) that contain non-visible (or no) data. The rows marked with a red "X" in the left grouping.
What ends up happening is that it fills the new location with the last word that was pasted into the first location, under the previous code.
In the image below, the last cell that was populated in the creation of the left grouping, was the word "Acid".
When attempting to remove the rows with blanks, only that word is used to fill the entire available range in the new area. (Far exceeding the length of the expected result.
The right Red arrow is the last code where "Acid" is placed.
The bracketed code is where I am trying to remove the spaces (rows with a red "x" in the first image above.
I have tried this way, as well as more complex code, none of it works.
The more complex code just copies and pastes the existing data, including the rows with the spaces.
Any help would be greatly appreciated!