Locked Datavalidation change range then copy?? how?

mkh12ab

New Member
Joined
Apr 9, 2021
Messages
15
Office Version
  1. 2019
Platform
  1. Windows
Hello everyone,

i am having an confusing issue here?

i will copy a dynamic range there:
Column A = text
Column B = dropdown list with $$ to lock the values then i copy

all dropdown have been made the same way and are locked from row 3$ to row 100$
then i copy the dynamic range 1 cell changes from row 3$ to row 4$?

the original area which i copy from stays the same with row 3$ locked
all the other dropdowns are locked as they are supposted to..

any1 know how this can be? and any solution on how to solve it??


below you can see the VBA (however the macro doesnt seems to be the issue)

Sub TilføjAgregat()

'Denne macro kopiere et nyt aggregat inde på forsiden

Application.ScreenUpdating = False

Dim irow As Long
Dim sht As Worksheet
Set sht = Ark2

Ark1.Activate
Range("A1").End(xlDown).Select
ActiveCell.Offset(1, 0).Select

irow = sht.Cells(sht.Rows.Count, 1).End(xlUp).Row
sht.Range("A1:B" & irow).Copy

Ark1.Activate
ActiveCell.PasteSpecial


Application.ScreenUpdating = True

End Sub
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,214,959
Messages
6,122,476
Members
449,087
Latest member
RExcelSearch

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