+ Reply to Thread
Results 1 to 5 of 5

Macro to convert spreadsheet to new format that is non-file specific

  1. #1
    Forum Contributor
    Join Date
    11-02-2003
    Location
    Birmingham, UK
    MS-Off Ver
    Office 365
    Posts
    127

    Macro to convert spreadsheet to new format that is non-file specific

    I recorded this macro to take a older Excel version file and convert it to 2013. It works fine but for the specific filename & path. Is there a way of re-writing the filename part so that it works on the current file that the macro is run from please ?

    Please Login or Register  to view this content.
    Many thanks in advance if someone is able to help.

    TW
    Last edited by alansidman; 04-11-2015 at 05:05 AM.
    Terry

    "... I thought I was a power user of Excel until I came onto these boards..."

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Macro to convert spreadsheet to new format that is non-file specific

    I recorded this macro to take a older Excel version file and convert it to 2013.
    Why? 2013 should not have a problem opening and reading older versions of excel?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    11-02-2003
    Location
    Birmingham, UK
    MS-Off Ver
    Office 365
    Posts
    127

    Re: Macro to convert spreadsheet to new format that is non-file specific

    It's not the opening and reading that I have a problem with. 2013 opens these older spreadsheets in compatibility mode which seems to limit some of the features. Now you ask I'll double check the feature I'm grappling with to see if the solution provided on my previous post about dates actually solves this as well.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,859

    Re: Macro to convert spreadsheet to new format that is non-file specific

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    ( I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,859

    Re: Macro to convert spreadsheet to new format that is non-file specific

    This should get you started on how to determine Path and file name

    Please Login or Register  to view this content.

+ 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. Replies: 7
    Last Post: 12-02-2013, 11:01 AM
  2. Please help to get a macro to convert without format file to excel file.
    By excel_boy1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2013, 12:27 PM
  3. Macro to convert decimal separators from US to EU format when loading a CSV file?
    By Knut Grossmann in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-18-2013, 04:01 PM
  4. [SOLVED] Macro to convert specific text and format specific text within a string
    By Mencae in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 12-06-2012, 12:13 AM
  5. Convert to TXT file in specific format
    By cosmicgrooves in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-19-2011, 05:40 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