Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hey all,
I am working with a variable amount of records on an excel file, and each of them are selected differently, heres my solution however, I am having difficulties with one peice of code... ActiveCell.EntireRow.Select Selection.Insert Shift:=xlDown ActiveCell.Offset(-1, 0).Select Range(Selection, Selection.End(xlUp)).Select Lets say for example this selects A3:A6. What I want to do now is select all the data in those Rows to the N column, however the goto current region method wont work because a) there isnt data in every column and b) there is data after the N column. I have currently... range(Selection, Columns("N:N")).select However this will select everything from A:N. Any ideas? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
variable ranges | Excel Discussion (Misc queries) | |||
Help with Variable Ranges! | Excel Discussion (Misc queries) | |||
Variable Ranges | Excel Worksheet Functions | |||
Variable ranges | Excel Worksheet Functions | |||
Sum Variable Ranges | Excel Worksheet Functions |