+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Change of format

  1. #1
    Registered User
    Join Date
    09-18-2009
    Location
    Bergen, Norway
    MS-Off Ver
    Excel 2007
    Posts
    3

    Question Change of format

    Football-results is mostly displayed like this: 1-2. But when I copy a list of results from a website (like Wikipedia) and paste them into Excel, some of them changes to a date...

    I have tried to prepare Excel for what I'm going to paste, by marking the cells and change the format to "Text". It doesn't help. And it's no help changing it after pasting.

    What should I do to get this right???!?
    Last edited by Oyvind; 09-18-2009 at 06:40 AM. Reason: Changed the heading to fit with the regulations

  2. #2
    Forum Contributor
    Join Date
    07-24-2009
    Location
    Valrico, FL USA
    MS-Off Ver
    Excel 2016
    Posts
    358

    Re: Change of format (PLEASE help me quick)

    Try the following website:

    http://www.microsoft.com/technet/scr...8/hey0627.mspx

  3. #3
    Registered User
    Join Date
    09-18-2009
    Location
    Bergen, Norway
    MS-Off Ver
    Excel 2007
    Posts
    3

    Exclamation Re: Change of format (PLEASE help me quick)

    I have read it, and I'm told to run this script:

    Const xlTextFormat = 2
    Set objExcel = CreateObject("Excel.Application")
    objExcel.Visible = True
    objExcel.Workbooks.OpenText "C:\Scripts\Test.txt",,,,,,,,True,,,, _
    Array(Array(1, xlTextFormat), Array(2, xlTextFormat), Array(3, xlTextFormat))
    Only one problem: I don't know how to run a script... I am not a programmer, just an regular user of Excel.
    So please help me out here:-)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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