Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This seems like a dumb question, but...
I'm trying to write a macro that will insert a row and then go to column A of that row before executing the rest of the code. What I've used at the beginning is: Selection.EntireRow.Insert Selection.Columns("A:A").Select This successfully inserts a row, but doesn't return to column A. How can this be done properly? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Maybe one way:
Range("A" & ActiveCell.Row).Select HTH, Paul wrote in message oups.com... This seems like a dumb question, but... I'm trying to write a macro that will insert a row and then go to column A of that row before executing the rest of the code. What I've used at the beginning is: Selection.EntireRow.Insert Selection.Columns("A:A").Select This successfully inserts a row, but doesn't return to column A. How can this be done properly? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
one way
Range("A" & Selection.Row).Select -- Gary wrote in message oups.com... This seems like a dumb question, but... I'm trying to write a macro that will insert a row and then go to column A of that row before executing the rest of the code. What I've used at the beginning is: Selection.EntireRow.Insert Selection.Columns("A:A").Select This successfully inserts a row, but doesn't return to column A. How can this be done properly? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Referencing date column A & time column B to get info from column | Excel Discussion (Misc queries) | |||
Search for a column based on the column header and then past data from it to another column in another workbook | Excel Programming | |||
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look | Excel Programming | |||
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look | Excel Discussion (Misc queries) | |||
How can i have all alike product codes in column A be matched with like cities in column B and then add the totals that are in column C | Excel Programming |