+ Reply to Thread
Results 1 to 3 of 3

Help My Macro Doesn't Work!

  1. #1
    Registered User
    Join Date
    11-16-2006
    Posts
    4

    Help My Macro Doesn't Work!

    Hello!

    This is my first attempt at using Macros, and I thought I had it figured out! I set it to record on relative mode, and then I made a few charts. When I try to use this Macro on another Workbook with the exact same formatting for the cells, I get an error message "Compile Error: Expected function or variable". The highlighted section in the VBA is Sub Charts(). I don't know what this means or how to fix it and make some charts! Any ideas? Thank you!

    pinkgoldfish

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,483
    it sounds like your macro is calling another macro that doesn't exist in the other workbook

  3. #3
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    It helps to post your code so that we can offer a better cure to your problem

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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