Refrencing Diffrent Tab.

  • Thread starter Thread starter Ardy
  • Start date Start date
A

Ardy

Hello All:
I have this code:

With ActiveSheet
LastRow = .Cells(.Rows.Count, "A").End(xlUp).Row
.Range("A3:A44").AutoFill Destination:=.Range("A3:A" & LastRow), _
Type:=xlFillDefault
End With

This is for the same tab as the information, how would I modify this to
different tab. In
LastRow = .Cells(.Rows.Count, "A").End(xlUp).Row.

What I want to do is refrence my last row in a different tab.

Regards, Ardy
 
don't see how this will work
.Range("A3:A44").AutoFill Destination:=.Range("A3:A" & LastRow), _
Type:=xlFillDefault

maybe
.Range("A3:A3").AutoFill Destination:=.Range("A3:A" & LastRow), _
Type:=xlFillDefault

but i'm not sure what you're trying to copy where
 
Back
Top