+ Reply to Thread
Results 1 to 2 of 2

Excel Sheet to Combine all data within a folder

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Excel Sheet to Combine all data within a folder

    I have a sheet which I created which basically combines multiple excel sheets within a folders data into one main sheet.
    I am getting the attached error saying it cant run on 64 bit.

    I have attached the sheets, the main sheet is named MergeExcels and the error message is attached as well.


    I appreciate the help, Thanks!
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    12-01-2016
    Location
    Planet Earth
    MS-Off Ver
    95 - 2016
    Posts
    343

    Re: Excel Sheet to Combine all data within a folder

    Here is what I found which may resolve your issue.

    According to Microsoft the Existing Declare statements will not compile in 64-bit VBA until they have been marked as safe for 64-bit by using the PtrSafe attribute. You can find samples of this type of conversion at Excel MVP Jan Karel Pieterse’s Web site at: http://www.jkp-ads.com/articles/apideclarations.asp.


    The Office Code Compatibility Inspector user’s guide is a useful tool to inspect the syntax of API Declare statements for the PtrSafe attribute, if needed, and the appropriate return type.

+ 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. Combine same sheet from multiple workbooks in the same folder
    By a1b2c3d4e5f6g7 in forum Excel General
    Replies: 2
    Last Post: 05-29-2015, 03:20 PM
  2. [SOLVED] Add second sheet data of diff excel in a folder
    By ROHAN999 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 04-23-2015, 12:03 AM
  3. Combine folder sheets to one master sheet
    By rchure in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-25-2014, 01:11 AM
  4. Combine folder sheets to one master sheet
    By rchure in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-24-2014, 10:48 AM
  5. [SOLVED] combine 1st sheet from all workbooks in folder
    By onbeillp111 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-18-2014, 05:14 PM
  6. Combine Data from Closed Files within the same folder
    By lasjbp9 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-07-2013, 10:07 AM
  7. combine workbooks stored in the same folder into 1 a summary sheet.
    By lrm75uk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-22-2010, 04:09 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