Hello. I have a macro that scrolls to certain columns. It works fine as long as some of the columns are not hidden. Sometimes it is neccessary for columns to be hidden. When some columns are hidden, it scrolls too far. It appears that my present macro doesn't count the columns which are hidden.
....
ActiveWindow.ScrollColumn = 50
....
When I check the column # with =column(), the column # returned is 120 (there's lots of hidden columns). Is there another way to do this so it scrolls to the right column? I need something that will work whether the columns are hidden or not.
Much appreciated,
JCMus
Bookmarks