Run Time Error 1004 - Application-defined or object-defined error

MSIL_

New Member
Joined
May 28, 2019
Messages
3
Hi Everyone,

Working on a Table with define names im having this error: Run Time Error 1004 - Application-defined or object-defined error.

im trying to do a simple record: go to the first cell(1,1) with ctrl+home shortcut , then move 2 cells to right, then ctrl+down arrow to the last cell with value and then move one cell down to the next blank cell.

when i run the macros the if i press Debug, this is what is shown:

https://cdn1.imggmi.com/uploads/2019/5/29/07daffc5cabce675e777854cd1bac626-full.jpg
07daffc5cabce675e777854cd1bac626-full.jpg.html

WFyMPV4

WFyMPV4
07daffc5cabce675e777854cd1bac626-full.jpg.html
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
i forgot to say that im working with relative references.

Code:
Sub Macro8()'
' Macro8 Macro
'


'
    ActiveCell.Offset(-8, -8).Range("Table1[[#Headers],[Invoice Number]]").Select
    Selection.End(xlDown).Select
    ActiveCell.Offset(1, 0).Range("Table1[[#Headers],[Invoice Number]]").Select
End Sub
 
Upvote 0

Forum statistics

Threads
1,216,125
Messages
6,128,998
Members
449,480
Latest member
yesitisasport

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