Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Cell Reference Problem With Cut and Paste
I would like to cut out some rows that I have identified in the first
spreadsheet, and want to paste them to the second spreadsheet. The problem I am having is that it does not like the below code. How should I be putting the variables into the code? Thanks Dim AccpacBeg As Range Dim AccpacEnd As Range ActiveSheet.Rows(" & AccpacBeg.row & ":" & AccpacEnd.row & ").Cut |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Cell Reference Problem With Cut and Paste
from
ActiveSheet.Rows(" & AccpacBeg.row & ":" & AccpacEnd.row & ").Cut to ActiveSheet.Rows(AccpacBeg.row & ":" & AccpacEnd.row).Cut "Bob Zimski" wrote: I would like to cut out some rows that I have identified in the first spreadsheet, and want to paste them to the second spreadsheet. The problem I am having is that it does not like the below code. How should I be putting the variables into the code? Thanks Dim AccpacBeg As Range Dim AccpacEnd As Range ActiveSheet.Rows(" & AccpacBeg.row & ":" & AccpacEnd.row & ").Cut |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how to paste formula but reference a fixed cell | Excel Discussion (Misc queries) | |||
Copy-Paste a Row via a cell reference | Excel Programming | |||
Copy and Paste macro needs to paste to a changing cell reference | Excel Programming | |||
problem with cell reference in =sum(offset(cell reference,x,y,z,a)). Want cell ref to be variable. | Excel Worksheet Functions | |||
Problem with =sum(offset(cell reference,w,x,y,z). I want cell reference to be variable | Excel Worksheet Functions |