+ Reply to Thread
Results 1 to 2 of 2

New to Macros, can't get them working!

  1. #1
    Registered User
    Join Date
    01-13-2023
    Location
    Belfast
    MS-Off Ver
    2013
    Posts
    1

    Angry New to Macros, can't get them working!

    Hi there, I created a macro that runs well on one set of data but will not work when I try to run it in another workbook with a different dataset.

    It flags up an error message saying 'run time error 1004 pivot table field name not valid'

    My code is as follows:
    Please Login or Register  to view this content.
    Last edited by davesexcel; 01-13-2023 at 08:32 AM. Reason: code tags required for vba code

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480

    Re: New to Macros, can't get them working!

    First thing I see is you have two different names for the Table.

+ 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. Macros Not Working
    By mycon73 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-12-2018, 12:59 PM
  2. Macros not working like they use to
    By amartin575 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-07-2016, 12:21 PM
  3. [SOLVED] Non working macros
    By geri_n in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 08-25-2016, 02:15 AM
  4. [SOLVED] Macros not working
    By ILoveStMartin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-10-2012, 02:19 PM
  5. Working with Macros
    By odin13 in forum Excel General
    Replies: 1
    Last Post: 10-22-2009, 05:25 AM
  6. Macros are not working on a Mac
    By vjboaz in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-23-2008, 03:25 PM
  7. Macros not working
    By neb in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-01-2005, 12:05 PM

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