Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Out of Present Range Error using Excel

I'm using VFP (Foxpro) to call Excel
Everything works on my own laptop, but when I transfer to clients PC I get a
problem

When my code tries to call a specific Macro in Excel I get back
OLE Error Code 0x8002000a Out of present Range

Cannot find any reference to "Out of present range" in help files or
knowledge base

Any idea's ??

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Out of Present Range Error using Excel


Hi Nicholas,

These questions are purely guesswork, as I know nothing at all abou
VFP (Foxpro), but you never know...
(I was waiting for someone else to respond so I could find out abou
your problem but no-else has responded - so here goes.)

* Does the macro in Excel actually exist on your client's PC & is th
path correct?
* Are all the correct librariaries referenced in Excel (& for tha
matter, in VFP)?
To check this in Excel, [alt + F11] to access the VB Editor, Tools
References, & check that all the same references have been ticked o
your client's PC & your laptop.
* Are both computer's using the same versions of the app's?
If not, some code that works on one computer may not be valid syntax o
the other.

hth
Rob Brockett
NZ
Always learning & the best way to learn is to experience..

--
broro18
-----------------------------------------------------------------------
broro183's Profile: http://www.excelforum.com/member.php...fo&userid=3006
View this thread: http://www.excelforum.com/showthread.php?threadid=52138

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Out of Present Range Error using Excel

Hi Rob

Thanks for your input
I had to get onto Microsoft directly in the end and it turned out to be
something simple. I was using an integer parameter and the value I was
handing in (from a database table) was too large.

On my machine I had lower values in the database table ... simple as that

Thanks again though

Nick


"broro183" wrote:


Hi Nicholas,

These questions are purely guesswork, as I know nothing at all about
VFP (Foxpro), but you never know...
(I was waiting for someone else to respond so I could find out about
your problem but no-else has responded - so here goes.)

* Does the macro in Excel actually exist on your client's PC & is the
path correct?
* Are all the correct librariaries referenced in Excel (& for that
matter, in VFP)?
To check this in Excel, [alt + F11] to access the VB Editor, Tools -
References, & check that all the same references have been ticked on
your client's PC & your laptop.
* Are both computer's using the same versions of the app's?
If not, some code that works on one computer may not be valid syntax on
the other.

hth
Rob Brockett
NZ
Always learning & the best way to learn is to experience...


--
broro183
------------------------------------------------------------------------
broro183's Profile: http://www.excelforum.com/member.php...o&userid=30068
View this thread: http://www.excelforum.com/showthread...hreadid=521380


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Out of Present Range Error using Excel


Hi Nick,
Thanks for the feedback.

It's great when it is simple - at least now it is problem solved :-)

Rob Brockett
NZ
Always learning & the best way to learn is to experience..

--
broro18
-----------------------------------------------------------------------
broro183's Profile: http://www.excelforum.com/member.php...fo&userid=3006
View this thread: http://www.excelforum.com/showthread.php?threadid=52138

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
If any specific #s are present in range, show each in another cell Steve Excel Worksheet Functions 6 June 24th 09 02:57 PM
Sum A Range only if no text is present in the range AdmiralAJ Excel Worksheet Functions 3 June 20th 07 01:19 AM
conditional formula: sum a range if text present in another range NeedAdvice777 Excel Discussion (Misc queries) 10 August 29th 06 04:51 PM
How to present the error margin of data set? Wess Excel Discussion (Misc queries) 1 April 11th 05 02:47 PM
Search cells in a column and return yes/no if they are present in named range Felicity Geronimo Excel Programming 1 December 1st 04 07:11 PM


All times are GMT +1. The time now is 08:20 PM.

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"