LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default selecting adjacent cells

Thanks Chip. But all this does is move the cursor. Maybe it would help if I
provide more information. I have a lengthy list that I process daily. I
have 9 columns of data and have to match 2 of the rows to a third row. I
created a macro that inserts cells depending on how many rows I select. I
have to highlight or select the two columns I need to add cells to. This is
in liew of using the right click, insert, rows etc. The macro works well,
but it can still be improved on. What I would like to do is just leave my
cell pointer in one column and have a macro select the adjacent column to the
right (including the cell where my pointer is) and then insert cells. I hope
this is clearer. Think you can make it work?

Thanks

Tom M

"Chip Pearson" wrote:

Try something like

ActiveCell(1,2).Select


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Tom M" <Tom wrote in message
...
I have searched help for the proper usage of cell commands but
have not been
able to identify anything that allows me to select a cell, and
by means of a
macro, select the adjacent cell and invoke an insertion macro I
created.
It's the selection of the adjacent cell that is driving me
crazy. On a macro
level scale of 1 to 10, with 1 being beginner, I am probably a
two. I can
create some macros but nothing fancy. Thanks in advance for
your help.

Tom M




 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Select multiple adjacent cells of multiple cells without selecting sjsjsjsjsjs New Users to Excel 11 December 24th 09 01:09 AM
macro for selecting non-adjacent cells EricBB Excel Discussion (Misc queries) 6 January 5th 08 10:12 PM
By selecting cells adjacent to cells tally sheet tom Excel Worksheet Functions 2 September 20th 06 07:09 PM
selecting adjacent cells wfcmark New Users to Excel 4 December 2nd 05 09:23 AM
selecting non adjacent cells fran Excel Worksheet Functions 4 April 25th 05 12:54 AM


All times are GMT +1. The time now is 12:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"