Just wondering if there is a more concise way to write this code. I just need it to put a zero in front of all single digit values, so 1 = 01.
![]()
Please Login or Register to view this content.
Just wondering if there is a more concise way to write this code. I just need it to put a zero in front of all single digit values, so 1 = 01.
![]()
Please Login or Register to view this content.
Format > Cells > Number > Custom -> 00
This structure is faster than repeated selections.
![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Last edited by VBA Noob; 10-30-2007 at 03:48 PM.
Or a event macro. Right click sheet and select view code and paste in the below
VBA Noob![]()
Please Login or Register to view this content.
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
Thanks for all the replys I appreciate it, i think I am going to try out SuitedAces since the range is always constant.
Thanks all
but Noob makes a good case with using the worsheet change event
you could use the intersect method
![]()
Please Login or Register to view this content.
Last edited by VBA Noob; 11-03-2007 at 06:39 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks