Re: Columns doesnt return expected results
- From: Dave Peterson <petersod@xxxxxxxxxxxxxxxx>
- Date: Fri, 21 Mar 2008 18:56:17 -0500
Do you have those bleeping merged cells in column A to column U?
They can screw up lots of things.
And to make matters worse, each version of excel seems to treat merged cells
differently.
Roger Smith wrote:
I hope this isnt too much of a newbie question... its been years since I
last did any serious VB programming.
I have a body of code that has just finished working with a range of rows
set by:
Rows(4 & ":" & intLastRow).Select ' select all active rows
and now I want to format column A. So I try setting column A to be the
active and selected column with
Columns("A:A").Select ' select column A
however it returns a range of Columns("A:U"). I have also tried
Columns(1).Select and
Range("A:A").activate with the same results.
What am I doing wrong here?
Thanks much
--
Dave Peterson
.
- Follow-Ups:
- Re: Columns doesnt return expected results
- From: Roger Smith
- Re: Columns doesnt return expected results
- References:
- Columns doesnt return expected results
- From: Roger Smith
- Columns doesnt return expected results
- Prev by Date: RE: WHY EDIT-FILL-"SERIES" OPTION cannot be seen in one particula
- Next by Date: Previously Functioning Date Interpreter Now Failing
- Previous by thread: Re: Columns doesnt return expected results
- Next by thread: Re: Columns doesnt return expected results
- Index(es):