A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

error: 2147417848



 
 
Thread Tools Display Modes
  #1  
Old September 22nd, 2008, 01:24 AM posted to microsoft.public.excel.newusers
aundrea
external usenet poster
 
Posts: 1
Default error: 2147417848


I'm doing a quantitative frequency distribution in megastat "exel" when I
click ok, the following appears : Error No. -2147417848 (Method 'Offset' of
object 'Range' failed) has occurred in Frequency Distributions -
Quantitative....... can somebody help me ..... Aundrea
  #2  
Old September 22nd, 2008, 08:50 PM posted to microsoft.public.excel.newusers
omnitechsupport
external usenet poster
 
Posts: 46
Default error: 2147417848

Open the Excel sheet,
Then, press "Alt+F11".Microsoft Visual Basic opens up.
Click on "Insert" tab, select 'Module".
then, copy & paste the codes given below in the Module(code).

Dim max_reihen As Integer, lowestRow As Integer, latestCol As Integer
Dim wksA As Worksheet

'[...]
Set wksA =ActiveSheet
With wksA
.Range("A1").Select 'sets focus from possibly selected chart back to
sheet
max_reihen=526 'state of variable just before the critical line is met
lowestRow=2000 'state of variable just before the critical line is met
latestCol=26 'state of variable just before the critical line is met
.Range(.Cells(max_reihen, 1), .Cells(lowestRow, latestCol)) =
vbNullString '--CRITICAL LINE causing runtime error -2147417848
'[...]
.Range(.Cells(max_reihen, 1), .Cells(lowestRow,
latestCol)).ClearContents '-- this was my alternative, but this causes a
"Runtime error 1004" instead
'[...]
End With



I hope this helps you.


"aundrea" wrote:


I'm doing a quantitative frequency distribution in megastat "exel" when I
click ok, the following appears : Error No. -2147417848 (Method 'Offset' of
object 'Range' failed) has occurred in Frequency Distributions -
Quantitative....... can somebody help me ..... Aundrea

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:52 PM.


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