+ Reply to Thread
Results 1 to 7 of 7

macro exports value

  1. #1
    Forum Contributor
    Join Date
    08-27-2019
    Location
    europa
    MS-Off Ver
    excel 2007
    Posts
    456

    macro exports value

    Hi to all
    This macro doesn't work
    Run-Time Error 438 Property or method not supported by the object

    Please Login or Register  to view this content.
    a help?
    Thanks you
    xam

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: macro exports value

    Try this

    Please Login or Register  to view this content.
    Last edited by Bob Phillips; 12-04-2020 at 07:27 AM.

  3. #3
    Forum Contributor
    Join Date
    08-27-2019
    Location
    europa
    MS-Off Ver
    excel 2007
    Posts
    456

    Re: macro exports value

    Hi now error here

    sh1.Range("R:R").Copy
    sh2.Range("R:R").Paste '<<<<

  4. #4
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: macro exports value

    Try replacing with

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    08-27-2019
    Location
    europa
    MS-Off Ver
    excel 2007
    Posts
    456

    Re: macro exports value

    Erroer here

    sh1.Columns("R").Copy
    sh2.Columns("R").Paste '<<<<

  6. #6
    Forum Contributor
    Join Date
    08-27-2019
    Location
    europa
    MS-Off Ver
    excel 2007
    Posts
    456

    Re: macro exports value

    This opens the workbook but I don't see it
    Please Login or Register  to view this content.
    then mistake here:
    Please Login or Register  to view this content.
    I enclose 2 examples to try
    Attached Files Attached Files
    Last edited by xam99; 12-05-2020 at 09:35 AM.

  7. #7
    Forum Contributor
    Join Date
    08-27-2019
    Location
    europa
    MS-Off Ver
    excel 2007
    Posts
    456

    Re: macro exports value

    I corrected the attached file, the path was wrong.
    But it doesn't open the file prova 2021 correctly and doesn't paste
    Attached Files Attached Files

+ 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: 5
    Last Post: 11-15-2018, 10:54 PM
  2. Help adjusting macro that matches filename/exports file as PDF with filename
    By taylorsm in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-09-2018, 10:58 AM
  3. [SOLVED] Macro that exports every X number of sheets into seperate files
    By Sgligori in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-22-2015, 12:03 PM
  4. [SOLVED] Add to rule macro that exports Body, date/time sent, and sender into excel spreadsheet.
    By vamosj in forum Outlook Formatting & Functions
    Replies: 2
    Last Post: 01-21-2015, 12:09 PM
  5. [SOLVED] Macro running saved exports
    By superchew in forum Access Tables & Databases
    Replies: 2
    Last Post: 12-06-2014, 07:06 PM
  6. macro that exports text to notepad and also removes consecutive exclamation points...
    By indullg83 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-15-2009, 12:51 PM
  7. Macro that exports data from form to folder
    By m094578 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-09-2008, 03:30 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