Finding the last row of a NAMED table

yoyoma123

New Member
Joined
Sep 14, 2011
Messages
13
Sorry if I seem like I'm beating a dead horse, but I cannot seem to figure this out or find any similar questions.

I have a named table "Table1" that I want to continue appending data to the bottom of through the use of a macro. currently the code I have is:

Code:
Sheets("Sheet1").Select
Range("A65536").End(xlUp).Offset(1, 0).Select
ActiveSheet.Paste
The problem is that there is always an empty row between the table's header and the start of where the data starts copying. I have fixed this by changing the offset to (0,0) for the first paste and back to (1,0) for the subsequent pastes. However, this is actually going to be a "template" of sorts for multiple groups in my organization to use, and I do not want everyone to go in and adjust the code for the first use.

Any help?
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Welcome to the board..

Perhaps you should look at the method of copying, to try to remove the blank row.
You Might be able to use something like

Range(...).specialcells(xlcelltypeConstants).Copy

Can you post the relevant code that does the COPY..
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,833
Members
452,947
Latest member
Gerry_F

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top