Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel Bug: Run-time error '-2147417848 (80010108)'

I have been getting the following error:

Run-time error '-2147417848 (80010108)'
Method 'Paste' of 'object'_Worksheet' failed

The code below is generating that error when i choose yes to save thi
file as i am closing the excel file. the code works fine if i jus
click on save the save button before closing. another strange thing i
that after my code generates this error, excel won't close. it i
still partially functional. i can open a file. however, once i open th
file, there is content in the cells that i can see in the forumla ba
but the part of the screen where the worksheet is supposd to be is al
white. i'm thinking that this is some kind of bug in excel. anyone kno
whats going on?

Btw, the error is generated on the line marked with an asterik

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel A
Boolean)
Workbooks.Open ("C:\Documents and Settings\Adam\Desktop\Monthl
Sales\Bars 2004.csv")
Workbooks("Bars 2004.xls").Worksheets("Total Bar
MASTER").Activate
Range("D10:O12").Copy
Excel.Windows("Bars 2004.csv").Activate
Range("D10").Select
*Excel.Workbooks("Bars 2004.csv").Worksheets("Bars 2004").Paste
Excel.Workbooks("Bars 2004.csv").Close
End Su

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel Bug: Run-time error '-2147417848 (80010108)'

to add to that... this is very interesting. my excel is now consumin
all available cpu usage and my total cpu usage is at 100% until
decide to end the process

--
Message posted from http://www.ExcelForum.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automation error '-2147417848 (80010108)' excel 2007 Lilandra Excel Discussion (Misc queries) 0 July 9th 09 11:16 PM
Run time error '-214741848 (80010108) Static Bob Excel Programming 1 May 5th 04 08:21 PM
Automation error -2147417848 (80010108) mbobro[_5_] Excel Programming 2 April 8th 04 01:10 PM
Excel 2000 - range.calculate error - 2147417848 Stephan Kostial Excel Programming 0 February 16th 04 08:28 AM
Run time error 2147417848(80010108) Praveen Excel Programming 4 December 18th 03 10:23 AM


All times are GMT +1. The time now is 04:16 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"