VBAProIWish
Well-known Member
- Joined
- Jul 6, 2009
- Messages
- 1,027
- Office Version
- 365
- Platform
- Windows
Hello All,
I have been trying many different ways to get this format to work but can't seem to get it right. Here's a couple I tried but didn't work...
I'm trying to copy cell A1 using a custom format in column A, equal to the bottom-most row with data in column B.
Thanks much
I have been trying many different ways to get this format to work but can't seem to get it right. Here's a couple I tried but didn't work...
Code:
.Range("A2:A" & .Range("B" & Rows.Count).End(xlUp).Row).Selection.NumberFormat = "yyyy-mm, mmm"
Code:
Selection.Range("A2:A" & .Range("B" & Rows.Count).End(xlUp).Row).Selection.NumberFormat = "yyyy-mm, mmm"
I'm trying to copy cell A1 using a custom format in column A, equal to the bottom-most row with data in column B.
Thanks much