I used this script and it appeared to work.
However after several entries I discovered the Range address as not 'Adding' the new line it was shifting the Range name down by one line.
In a different file the Range name "ProLst" starts in cell B2 and ends in cell K79,
When I use the following commands:
'==============
Sheets("Formulas").Range("NuItem").Copy
Sheets("Lkups").Range("B" & Rows.Count).End(xlUp).Offset(1).PasteSpecial xlPasteValues 'Adding to Range - ProLst cells B2 thru K79
Sheets("Lkups").Range("b" & Rows.Count).End(xlUp).PasteSpecial xlPasteFormats
'------------------Re ID Ranges Names----------------
Sheets("Lkups").Select
Range("B2").Select
ActiveWorkbook.Names.Add Name:="ProLst", RefersToR1C1:= _
Sheets("Lkups").Range("ProLst").Offset(1, 0) ' Renaming range ProLst to be cells B2 thru K80
'--------
to add a new item to the list, the new range for 'ProLst' is now B3 thru K80, not the intended B2 thru K80.
I lose the first row of data in the file.
I need the range name to increase by one row of data, not just change the location of the range.
Any help would be appreciated.
Thank you
Bookmarks