Hi All,
am trying to write a macro for a collums to use the date formating dd-mmm-yyyy as i have alot of columns to update!
please help
Hi All,
am trying to write a macro for a collums to use the date formating dd-mmm-yyyy as i have alot of columns to update!
please help
Try:
HTH![]()
Please Login or Register to view this content.
Jason
Try
or using column no![]()
Please Login or Register to view this content.
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 !!!
Thank you that works great..one more thing
I got help with another matter same dating issue
i would like to step out of a for loop if there's no information found withing the collumn.
here's the code
For j = 13 To 14
Range(Cells(7, j), Cells(LastRow, j)).TextToColumns _
Destination:=Cells(7, j), DataType:=xlDelimited, _
FieldInfo:=Array(1, 4)
Columns(j).EntireColumn.AutoFit
IF columns(j).value = "" then
exit for
end if
Next j
the for loop is okay it's the if that i need help or how to ignore the column and move to the next without it prompting a warning.
Can you please wrap your code. Also a new question should be in it's own thread - Read forum rules below.
VBA Noob
Thanks VB_Noob it works!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks