Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Select columns of active cell's row
Hi! Could anyone tell me how I can select columns A, B, C, and F of th active cell's row? Thanks -- Cumberlan ----------------------------------------------------------------------- Cumberland's Profile: http://www.excelforum.com/member.php...fo&userid=3344 View this thread: http://www.excelforum.com/showthread.php?threadid=55639 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Select columns of active cell's row
Try
Dim Rng As Range Set Rng = Application.Union(Cells(ActiveCell.Row, "A").Resize(, 3), _ Cells(ActiveCell.Row, "F")) Rng.Select -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Cumberland" wrote in message ... Hi! Could anyone tell me how I can select columns A, B, C, and F of the active cell's row? Thanks. -- Cumberland ------------------------------------------------------------------------ Cumberland's Profile: http://www.excelforum.com/member.php...o&userid=33445 View this thread: http://www.excelforum.com/showthread...hreadid=556393 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Select columns of active cell's row
Thanks Chip, you're a genius -- Cumberlan ----------------------------------------------------------------------- Cumberland's Profile: http://www.excelforum.com/member.php...fo&userid=3344 View this thread: http://www.excelforum.com/showthread.php?threadid=55639 |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Select columns of active cell's row
I have my moments.
-- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Cumberland" wrote in message ... Thanks Chip, you're a genius! -- Cumberland ------------------------------------------------------------------------ Cumberland's Profile: http://www.excelforum.com/member.php...o&userid=33445 View this thread: http://www.excelforum.com/showthread...hreadid=556393 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Referencing an active cell's content from another sheet. | Excel Worksheet Functions | |||
How select active rows from A to D columns? | Excel Discussion (Misc queries) | |||
how to compare the active cell value to the previous cell's value | Excel Programming | |||
Repeat: Active Cell's Address | Excel Programming | |||
Select a range of columns based on active cell | Excel Programming |