Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88075

How do I get to know the columns of a combined cell?

$
0
0

A moment ago someone asked me if we can use a combined column as a reference point, I did not know what to answer, for them I am here.

The idea was this:

enter image description here

So when you select the combined cell A, you could get the columns of that combined cell.

¿For what? Well, when a new column is added, this new column will be added to the merge cell, so when we use VBA we get the columns of that segment, because the intention is not to depend on "Range (" A1: A5 ")" so static, and well be able to select that range of columns even if new columns are added where the combined cell is located.

Because our intention is that the combined cells function as segments, where we only need the combined columns and this can be dynamic.

If anyone knows a better way to do this, then welcome .


Viewing all articles
Browse latest Browse all 88075

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>