I don't know if anybody has a good grasph on excel and writing macros for it but I was trying to write a macro for work.
I got the macro to work fine on the first sheet, but when it goes to the second sheet even though the layout is the same I get an error of "400", and that's all.
I'm just doing conditional formatting but there are more than 3 conditions in some cases so I had to make a macro.
If you need to see the worksheet to understand what I'm talking about let me know.
Basically what is error "400"
-
Mar 2nd, 2006 09:00 PM #1
Excel problem (VBA)
_______________
HEATWARE (21 - 0) - evilbabyLOG IN TO THANK No one has yet thanked Evil Baby for this post.
-
Sponsored Links - Join the RedFlagDeals.com community and remove this ad.
-
Mar 2nd, 2006 09:05 PM #2
[QUOTE=Evil Baby]I don't know if anybody has a good grasph on excel and writing macros for it but I was trying to write a macro for work.
I got the macro to work fine on the first sheet, but when it goes to the second sheet even though the layout is the same I get an error of "400", and that's all.
I'm just doing conditional formatting but there are more than 3 conditions in some cases so I had to make a macro.
If you need to see the worksheet to understand what I'm talking about let me know.
Basically what is error "400"[/QUOTE]
what's the full error message? Google Groups helped me solve a lot of VBA issues.
[url]http://groups.google.com/[/url]LOG IN TO THANK No one has yet thanked siriuskao for this post.
-
Mar 2nd, 2006 09:20 PM #3
That's the problem, the error is just "400"
[IMG]http://i51.photobucket.com/albums/f367/rdonnell/error.jpg[/IMG]Last edited by Evil Baby; Mar 2nd, 2006 at 09:24 PM.
_______________
HEATWARE (21 - 0) - evilbabyLOG IN TO THANK No one has yet thanked Evil Baby for this post.
-
Mar 2nd, 2006 09:33 PM #4
ok, I changed my code so that instead of running from one sheet and copied and pasted the code from the first sheet to the remaining sheets and it works no problem.
Any idea why it would give me an error if "400" if I do something like
Here is the code that I'm using
[url]http://www.rafb.net/paste/results/9oimc149.html[/url]
The error happens on line 6 when it gets to sheet # 2_______________
HEATWARE (21 - 0) - evilbabyLOG IN TO THANK No one has yet thanked Evil Baby for this post.
Search Forums

