+ Reply to Thread
Results 1 to 6 of 6

VBA to Change Cell contents

  1. #1
    Registered User
    Join Date
    12-17-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    3

    VBA to Change Cell contents

    Hi

    I currently have a column which contains cells that should appear as, some do and some don't.
    62-55-93
    88-56-99

    The data is originally exported from another program as a csv file and in certain cases the cell contents appear as a date format
    10/10/10 should be 10-10-10
    22/11/34 should be 22-11-34

    What I am trying to do is create code which will go down the column and change the contents. At the moment I am having problems just trying to identify which cells need altering. My code is

    Please Login or Register  to view this content.
    I thought the ?? would work as a wild card, maybe not.

    Thanks
    Nick

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: VBA to Change Cell contents

    Cross-post

    http://www.ozgrid.com/forum/showthread.php?t=182388

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: VBA to Change Cell contents

    Deleted.......

  4. #4
    Registered User
    Join Date
    12-17-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: VBA to Change Cell contents

    Sorry didn't know the 2 forums where connected, is it not allowed to post in more than one?

    What has been deleted

  5. #5
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: VBA to Change Cell contents

    Nick you should familiarize yourself with the Rules of each Forum you visit. For this one it is Forum Rule No. 8.

    8. Don't cross-post without a link. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post. Expect cross-posts without a link to be closed.

    However since you are a new member and have less than 10 posts here is what was deleted:

    Please Login or Register  to view this content.
    It was my attempt at solving your problem.

  6. #6
    Registered User
    Join Date
    12-17-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: VBA to Change Cell contents

    Hi John

    Thank you for the response, I wast aware of the rule I admit I didn't read all the forum rules, just wanted to try and solve my issue. I will stop using this thread from now and use the other.

    Thank you for the information that was deleted and for your consideration.

    Thanks
    Nick

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Change cell color based upon partial cell contents
    By msmick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-14-2012, 01:24 AM
  2. Change cell colour based on contents of adjacent cell
    By guitar@imms12.w in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-10-2008, 11:24 PM
  3. Change contents of a cell with VBA
    By systematic in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-06-2005, 09:05 AM
  4. change cell contents
    By Mary in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-19-2005, 07:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1