Home |
Search |
Today's Posts |
#16
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() thanks for all of your help...really got my gears grinding trying to work this out. Is there a quick line of code that I can add to my macro to format the date in column B from 38868 to 5/31/06 without using the format cells route? Should be the last line of the following code... Sub Format() Range("B1").Select Do Do Until Selection = "" Selection = Left$(Selection, (Len(Selection) - 3)) Selection.Offset(1, 0).Select Exit Do Loop Loop Until Selection = "" Range("A:A,C:C,E:F,I:K,L:L,O:P").EntireColumn.Dele te Range("A:A").EntireColumn.Insert Range("B:B").EntireColumn.Insert Range("f:f").EntireColumn.Insert Columns(7).Cut Columns(2).Insert Range("C:C").EntireColumn.Delete Rows("1:2").Delete End Sub -- andysgirl8800 ------------------------------------------------------------------------ andysgirl8800's Profile: http://www.excelforum.com/member.php...o&userid=34752 View this thread: http://www.excelforum.com/showthread...hreadid=547498 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
External Data Warning Message - I have No External Data in wrkbk | Excel Discussion (Misc queries) | |||
Getting External Data based on criteria insde of the external data | Excel Discussion (Misc queries) | |||
updating external data sheet causes loss of data on linked pages | Excel Worksheet Functions | |||
insert entire row for new data, external data range doesnt work | Excel Programming | |||
Need advice : consolidating data from multiple CSV files in Excel - External data handling | Excel Programming |