troubleshooting Question

automation error

Avatar of greatmanu
greatmanu asked on
Visual Basic Classic
4 Comments1 Solution304 ViewsLast Modified:
I am trying to copy cells from one excel sheet to another
The part of the code  is

Application.Dialogs(xlDialogOpen).Show ("D:\Games")
filenam = ActiveWorkbook.Name
If (actdate = 1) And (ActiveCell.Value <> "") Then
Call deletall
End If

Range("B8").Select---Here the problem occurs
Total_calls = ActiveCell.Value
TCRow = "E" + CStr(CInt(actdate) + 1)
ActiveCell.Value = Total_calls

At he point shown above I get an error Method select of range class failed followed by Error Message: -2147417848 Automation Error.

Please hlp
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros