Archive of Mr Excel Message Board


Back to Excel VBA archive index
Back to archive home

2 questions -Macro Command & Paste Problem

Posted by Judy on September 26, 2001 10:27 AM
Number 1
I usually just record macros. I need to go to the end of a list then down one more row. When I record it just says to select and names the cell. The next blank cell will not always be in the same place. So I need to tell the curser to just go down one row.

Number 2
I play a lot with excel trying to make it do things. I do not know how I did this. When I do a copy and paste this happens. When i select paste a window opens up like I am trying to save a file. Sometimes I say cancel and the paste continues a few times I have had to close excel to get out of it. I am linked to another workbook to get info for this workbook and I think that has something to do with it. HELP


Check out our Excel VBA Resources

Re: 2 questions -Macro Command & Paste Problem

Posted by Juan Pablo on September 26, 2001 11:21 AM

To go to the first available row put this in your code:

Range("A65536").End(xlUp).Offset(1).Activate

Don't know about this..

Juan Pablo

------------------


Re: 2 questions -Macro Command & Paste Problem

Posted by JUDY on September 27, 2001 9:44 AM


Re: 2 questions -Macro Command & Paste Problem

Posted by JUDY on September 27, 2001 9:44 AM

Thank Juan it worked!!!


This archive is from the original message board at www.MrExcel.com.
All contents © 1998-2004 MrExcel.com.
Visit our online store to buy searchable CD's with thousands of VBA and Excel answers.
Microsoft Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.