Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Good day, i pleeeease need some help with the following:
(I am not a programmer so it may be a bit clumsy) I am downloading a spreadsheet from SAP in wk1 format. The columns with dates in, i format so that i can use the spreadsheet in Access; by using the following code: The original format is: 20040501 Range("H:H,L:L,M:M,T:T,X:X,AB:AB").Select Selection.NumberFormat = "d-mmm-yy" Columns("H:H").Select Selection.TextToColumns Destination:=Range("H1"), DataType:=xlFixedWidth, _ FieldInfo:=Array(0, 5), TrailingMinusNumbers:=True It then looks like: 01-May-04, which is great. However my problem is the fields that contain this: 00000000, this then becomes 01-Jan-00 and in the formula bar it looke like this 1900/01/00. I then need to remove this so i used the macro recorder and searched for 1900/01/00 and replaced with nothing, it worked but when i try and run the code it won't work? I then replaced the search criteria with 01-Jan-00 and it still does not work ? If i use the search function, manually, it finds 1900/01/00. Any help is very welcome. Les Stout *** Sent via Devdex http://www.devdex.com *** Don't just participate in USENET...get rewarded for it! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find & Replace: find part cell, replace whole cell | Excel Worksheet Functions | |||
Find and Replace - Replace with Blank Space | Excel Discussion (Misc queries) | |||
where to put results of find operation in find and replace functio | Excel Worksheet Functions | |||
find and replace - replace data in rows to separated by commas | Excel Worksheet Functions | |||
find replace cursor default to find box | Excel Discussion (Misc queries) |