Hi,
how do I select next blank row?
This is what I've tried... but over writes previously pasted data.
![]()
Please Login or Register to view this content.
Hi,
how do I select next blank row?
This is what I've tried... but over writes previously pasted data.
![]()
Please Login or Register to view this content.
Last edited by AldenH123; 12-14-2010 at 05:46 AM.
You don't need to Select, what is your code doing? Also, you shouldn't switch screenupdating off without restoring it
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
Thanks Roy.
I'm trying to find the first blank row in a worksheet and then copy data to the list... this is nearly right, but takes me to the last row with text.
![]()
Please Login or Register to view this content.
You aren't answering what i asked.
This will find the last used cell in Column A, +1 to get the next empty oner.
I've asked what the whole code is doing so that i can suggest code![]()
Please Login or Register to view this content.
Last edited by royUK; 12-15-2010 at 09:36 AM.
Hi,
Ad the statement selection.offset(1,0).select
All those select statements are not necessary.
I suspect you you used the Macro recorder to obtain the code
Rebards
DAN
You should also note that a table of data like your sales ledger should have no completely empty rows. Proper use of Excel here & I doubt if you would need VBA
Last edited by royUK; 12-15-2010 at 09:42 AM.
You won't learn unless you read replies & provide information when asked.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks