Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
please help to to select the new column
I created a new column using the following formula
Cells(1, WorksheetFunction.Match("STOCK CODE", Rows("1:1"), 0)).EntireColumn.Insert But I to goto to first cell of that new column which are created newly with the above formula Please help Pol |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
please help to to select the new column
Try,
Cells(1, WorksheetFunction.Match("STOCK CODE", Rows("1:1"), 0)).EntireColumn.Insert Cells(1, WorksheetFunction.Match("STOCK CODE", Rows("1:1"), 0)).Offset(, -1).Select Mike "pol" wrote: I created a new column using the following formula Cells(1, WorksheetFunction.Match("STOCK CODE", Rows("1:1"), 0)).EntireColumn.Insert But I to goto to first cell of that new column which are created newly with the above formula Please help Pol |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
please help to to select the new column
Cells(1, WorksheetFunction.Match("STOCK CODE", Rows("1:1"),
0)).EntireColumn.Insert Cells(1, WorksheetFunction.Match("STOCK CODE", Rows("1:1"), 0) - 1).Select -- Regards. Daniel "pol" a écrit dans le message de news: ... I created a new column using the following formula Cells(1, WorksheetFunction.Match("STOCK CODE", Rows("1:1"), 0)).EntireColumn.Insert But I to goto to first cell of that new column which are created newly with the above formula Please help Pol |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
please help to to select the new column
Check your earlier post.
pol wrote: I created a new column using the following formula Cells(1, WorksheetFunction.Match("STOCK CODE", Rows("1:1"), 0)).EntireColumn.Insert But I to goto to first cell of that new column which are created newly with the above formula Please help Pol -- Dave Peterson |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
please help to to select the new column
Or using find instead of MATCH
Sub insertcolandselectit() mc = Rows("1:1").Find(What:="STOCK CODE", After:=Cells(1, 1), _ LookIn:=xlValues, LookAt:=xlWhole, SearchOrder:=xlByColumns, _ SearchDirection:=xlNext, MatchCase:=False).Column Columns(mc).Insert Columns(mc + 1).Select End Sub -- Don Guillett Microsoft MVP Excel SalesAid Software "pol" wrote in message ... I created a new column using the following formula Cells(1, WorksheetFunction.Match("STOCK CODE", Rows("1:1"), 0)).EntireColumn.Insert But I to goto to first cell of that new column which are created newly with the above formula Please help Pol |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
please help to to select the new column
See ans in LATER post. In the future, pls stay in the original post -- Don Guillett Microsoft MVP Excel SalesAid Software "pol" wrote in message ... I created a new column using the following formula Cells(1, WorksheetFunction.Match("STOCK CODE", Rows("1:1"), 0)).EntireColumn.Insert But I to goto to first cell of that new column which are created newly with the above formula Please help Pol |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
I want to select every other column | Excel Discussion (Misc queries) | |||
Shortcut to select column with data in previous column | Excel Discussion (Misc queries) | |||
select row and get value in the right most column | Excel Worksheet Functions | |||
select detail in column B if column A = date | Excel Worksheet Functions | |||
Select Column | Excel Discussion (Misc queries) |