There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Business Applications
Tag Cloud
access acer asus bios bsod computer crash dns driver drivers error ethernet excel freeze gaming google hard drive hardware hdmi internet laptop mac malware memory monitor motherboard mouse network printer problem ram registry router server slow software sound svchost.exe trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
MS Excel Macro Problem

Reply  
Thread Tools
thecoolest2009's Avatar
Computer Specs
Junior Member with 17 posts.
 
Join Date: Sep 2009
Experience: Advanced
28-Oct-2009, 05:49 PM #1
MS Excel Macro Problem
Every time I record a macro and create a pivot table it seems to work very well until I close the sheet. When I open up an a new sheet and try to re-run the macro the debugger opens and tells me that there is an error in this line. What am I missing?

The macro is save in the personal workbook.


ActiveChart.SetSourceData Source:=Sheets("Sheet1").Range("A3")
turbodante's Avatar
Senior Member with 744 posts.
 
Join Date: Dec 2008
Location: GMT UK
30-Oct-2009, 06:37 AM #2
Can you provide a sample?
Zack Barresse's Avatar
Computer Specs
Distinguished Member with 5,030 posts.
 
Join Date: Jul 2004
Location: Oregon, United States
Experience: I'ma learnin'!
31-Oct-2009, 08:41 PM #3
This is part of the problem with recorded macros. They aren't always that efficient (99 times out of 100). Can you explain what it is you are trying to do here, and provide your workbook, along with the code you have stored in your Personal.xls workbook?
Aj_old's Avatar
Computer Specs
Senior Member with 869 posts.
 
Join Date: Sep 2007
Location: Moldova
Experience: Intermediate
01-Nov-2009, 04:13 AM #4
if you can post the whole code, we can find the problem easier.
The problem can be due to the wrong reference.
Reply

Tags
excel 2003, macros, vba

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 10:20 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.