Mar 1, 2007 #1 niknik24 Vendor Feb 16, 2007 18 GB Hello I am trying to create a macro that allows me to copy paste the following range ("a3:b3") and then rename the active sheet name with the copied range Is this possible Thanks Nik
Hello I am trying to create a macro that allows me to copy paste the following range ("a3:b3") and then rename the active sheet name with the copied range Is this possible Thanks Nik
Mar 1, 2007 #2 stduc Programmer Nov 26, 2002 1,903 GB You don't need to copy & paste. You can use cells or range - this is an example using range Sheets("Sheet1").Name = Range("A3:A3").Value & Range("B3:B3").Value Assumptions. Sheet to rename is currently called Sheet1 Cell A3 contains the first part of the new name and cell B3 contains the rest of the name I have been known to be wrong. Upvote 0 Downvote
You don't need to copy & paste. You can use cells or range - this is an example using range Sheets("Sheet1").Name = Range("A3:A3").Value & Range("B3:B3").Value Assumptions. Sheet to rename is currently called Sheet1 Cell A3 contains the first part of the new name and cell B3 contains the rest of the name I have been known to be wrong.