LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Message--MEMORY COULD NOT BE READ

I need a little help with this macro. It updates the spreadsheet to th
next week and has been working fine for about 6 months,but now when
try to run it I recieve this error;

The instruction at "0x300f8a40" reference memory at "0x000001ac". Th
memory could not be "read".

Below is the code for the macro. Any help would be appreciated
Thanks.

Sub update()
'
' test Macro
' Macro recorded 1/7/04 by keenem
'

'
ActiveSheet.Select
ActiveSheet.Copy Befo=Sheets(1)
Range("M10:M58").Select
Selection.Copy
Range("D10:D58").Select
Range("D58").Activate
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone
SkipBlanks:= _
False, Transpose:=False
Range("E10:K58").Select
Application.CutCopyMode = False
Selection.ClearContents
ActiveWindow.LargeScroll Down:=-4
Range("C6").Select
Selection.Copy
Range("C5").Select
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone
SkipBlanks:= _
False, Transpose:=False
Application.CutCopyMode = False
Selection.Copy
ActiveSheet.Select
Application.CutCopyMode = False
ActiveSheet.Name = Range("D5").Value2
Range("E10").Select
ActiveWorkbook.save
End Su

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

 
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
Unable to read message jvazquezpmi Excel Discussion (Misc queries) 0 September 28th 06 04:49 PM
Some users sharing a workbook getting read only message owl37 Excel Discussion (Misc queries) 1 August 4th 06 04:13 PM
Saving spreadsheet gives read only error message Scott Excel Discussion (Misc queries) 1 March 15th 06 11:44 PM
Memory could not be read error Eddie Excel Discussion (Misc queries) 0 May 24th 05 01:15 PM
The instruction at "0x65255ac9" referenced memory at "0x00000008". The memory could not be read. Clikc OK to terminate etc Angus Comber[_2_] Excel Programming 1 November 7th 03 01:18 PM


All times are GMT +1. The time now is 03:05 AM.

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

About Us

"It's about Microsoft Excel"