Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Excel Function.
#1
Not Solved Cool 
Hi,

I have an excel sheet and have to Copy a range of cells and paste them to anaother sheet which is in other workbook.

I have functions to do this job.

But these function throws general run error after sometime and when I click on Retry button start functioning properly.

I have used following code.

Code:
Set objExcel = GetObject(,"Excel.Application")
Window("Excel").Activate

objExcel.ActiveWorkbook.ActiveWorksheet.Range("A1","F1").Select

Above line throws error sometimes and works properly at some other time.

Is there any other way to to this task???
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Calling a function in a Test Script from a function library anupam4j 3 6,178 06-26-2015, 12:31 AM
Last Post: babu123
  'Expected End If' in excel function incite1321 1 4,688 07-27-2009, 10:11 AM
Last Post: Saket

Forum Jump:


Users browsing this thread: 1 Guest(s)