Add selectable prefix to cell contents [Closed]

Ask a question PCB_Rename - Latest answer on Sep 15, 2016 04:58PM
I have a list of numbers in rows: 1, 2, 3,...999
I need to create them as 1001, 1002, 1003...1999 OR 2001, 2002, 2003 etc
Sample Code:
Cells(1, 1).Select
ActiveCell.Offset(4, 5).Range("A1").Select
ActiveCell.FormulaR1C1 = "=TEXT(RC[-3],""2#000"")"
I have the formula if I know what the assigned prefix will be, but how do I make it selectable or defined by the user?
I have not been able to find any answers so far.
See more 
moins plus

Please, bare in mind that CCM is a mutual aid community, all answers on the forum are provided by volunteers who give their time free to help solve issues.

Hence we request from CCM forum users to show mutual respect. Therefore, when asking assistance, please be courteous, as for elsewhere in similar circumstances in every day society when asking for something. (Usually, how would someone ask for help? i.e. please, thank you, appreciate, grateful, etc.)

Being courteous will also increase your chances of getting the help you need.

Please, copy, modify and repost your message respecting the politeness charter.

We trust that you understand.


Members get more answers than anonymous users.

Being a member gives you detailed monitoring of your requests.

Being a member gives you additional options.

Not a member yet?

sign-up, it takes less than a minute and it's free!