LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Search Replace in VBA


I tend to record all my actions in a macro and then hack around t
create what i really need.

This project is to download data from a web site using the web quer
and then to create a pivot table of the data.

Problem 1 occurred when trying to change text from the form 01.02.200
to date format. I assumed this would be a recognisable date format bu
i couldnt seem to make Excel understand it until i replaced the '.
with '/'. So i used a replace all for '.' with '/' no problem. Howeve
if i recorded this as a macro and replayed it then it made some errors
occasionally some date would be reversed and appear as 02/01/2006.

Anyone know why it reversed the month and day?

ill post problem 2 another time
Pau

--
pamalpas
-----------------------------------------------------------------------
pamalpass's Profile: http://www.excelforum.com/member.php...fo&userid=3195
View this thread: http://www.excelforum.com/showthread.php?threadid=51672

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Search and replace CatPEG Excel Discussion (Misc queries) 4 January 7th 08 04:31 AM
Search and Replace LymaBeane Excel Worksheet Functions 2 September 13th 06 10:30 PM
Search and replace This Guy Excel Worksheet Functions 0 January 5th 05 06:02 PM
Help with Search and Replace mak Excel Programming 3 November 29th 04 11:09 PM
Search and replace rajgopal Excel Programming 1 October 1st 04 07:17 PM


All times are GMT +1. The time now is 09:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"