+ Reply to Thread
Results 1 to 3 of 3

Trying to match file type using existing code

  1. #1
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    Trying to match file type using existing code

    Hi everyone,

    I have the following code:

    Please Login or Register  to view this content.
    This code works find. However, whenever the new workbook is created Excel gives me the message that it cannot be saved as a macro free workbook: Execel 4.0 function stored in defined names.

    How can I adjust this code so that this message does not pop up every single time?

    Any ideas?

    Thanks!!

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: Trying to match file type using existing code

    At the beginning of your code add this line

    Please Login or Register  to view this content.
    and at the end of the code add
    Please Login or Register  to view this content.
    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

  3. #3
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    Re: Trying to match file type using existing code

    Hahaha, I'm an idiot. Thanks very much Alan

+ 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. [SOLVED] Help editing existing transpose code with index match
    By lwilt in forum Excel General
    Replies: 13
    Last Post: 03-07-2016, 04:11 PM
  2. [SOLVED] Looking to add to existing VBA code to type a word in a cell in a different sheet
    By Nitro2481 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-30-2015, 02:51 PM
  3. Require help in modifying the code to copy data to an existing file instead of new file
    By ahamedcader in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-13-2014, 02:57 PM
  4. [SOLVED] VBA code to save current worksheet as temporary PDF file and then add to my existing code
    By brianfromla in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-20-2014, 08:35 AM
  5. Modifying existing VBA code to find different file name
    By PittsburghEng in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-03-2010, 03:24 PM
  6. opening an existing text file useing code
    By ramki in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-23-2006, 04:45 AM

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