OilEconomist
Active Member
- Joined
- Dec 26, 2016
- Messages
- 421
- Office Version
- 2019
- Platform
- Windows
Thanks in advance for your assistance. I would like to turn the following function into a VBA Code, but having trouble because of the "" and &. Let me know if you can do it.
=YEAR(Ai)&"."&TEXT(MONTH(Ai),"00")&"."&TEXT(DAY(Ai), "00")
i is for the cell number as it goes through a loop for i = 6 to LastRow
I find the LastRow and then it will run that many times.
=YEAR(Ai)&"."&TEXT(MONTH(Ai),"00")&"."&TEXT(DAY(Ai), "00")
i is for the cell number as it goes through a loop for i = 6 to LastRow
I find the LastRow and then it will run that many times.