Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Can't run macro as normal user
Hi all
I have this odd problem. One of our users can't run a macro in a Excel XP spreadsheet. She's getting an Run-time error '1004' Application-defined or object-defined error. When I log on with my administrative account on the same Pc the macro runs fine. What could be the cause of that? Kind Regards Henrik |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Can't run macro as normal user
A '1004' error is essentially meaningless. It is a generic error that means
"something went wrong but I'm not going to tell you what". Any one of hundreds of things could cause a 1004 error. Post the code in question and indicate what line of code causes the error. You don't need to post the entire procedure. Narrow it down to the critical 10 or so lines (with variable declarations) that can be copy/pasted in to the VBA Editor. Mark which line causes the problem. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com (email address is on the web site) "Henrik Christiansen" wrote in message ... Hi all I have this odd problem. One of our users can't run a macro in a Excel XP spreadsheet. She's getting an Run-time error '1004' Application-defined or object-defined error. When I log on with my administrative account on the same Pc the macro runs fine. What could be the cause of that? Kind Regards Henrik |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Can't run macro as normal user
The macro is probably access some files that she doesn't have permission to
access. Open up the visual basic editor under the tools macro window. the program should stop when it gets to the errror. Move the mouse over the different variables to see what file name has the problem. "Henrik Christiansen" wrote: Hi all I have this odd problem. One of our users can't run a macro in a Excel XP spreadsheet. She's getting an Run-time error '1004' Application-defined or object-defined error. When I log on with my administrative account on the same Pc the macro runs fine. What could be the cause of that? Kind Regards Henrik |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Limit a template from normal user activity | Excel Discussion (Misc queries) | |||
Can't run macro as normal user | Excel Programming | |||
Can't run macro as normal user | Excel Programming | |||
Control not showing normal user | Excel Programming | |||
How may I macro update a normal distribution chart from new data? | Charts and Charting in Excel |