Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Business Applications
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor recovery registry cleaner router safe mode slow sound spyware tdlwsp.dll trojan vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
MS Excel Macro Problem

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

 
Thread Tools
thecoolest2009's Avatar
Computer Specs
Junior Member with 14 posts.
 
Join Date: Sep 2009
Experience: Advanced
28-Oct-2009, 04: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 368 posts.
 
Join Date: Dec 2008
Location: GMT 00.00 UK
30-Oct-2009, 05:37 AM #2
Can you provide a sample?
Zack Barresse's Avatar
Computer Specs
Distinguished Member with 4,511 posts.
 
Join Date: Jul 2004
Location: Oregon, United States
Experience: I'ma learnin'!
31-Oct-2009, 07: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 845 posts.
 
Join Date: Sep 2007
Location: Moldova
Experience: Intermediate
01-Nov-2009, 03: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 Bookmark and Share

Tags
excel 2003, macros, vba

Smart Search

Find your solution!



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


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 03:46 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.