Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.050 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; 'subject:method': 0.09; 'python': 0.11; 'posted': 0.15; 'bit.': 0.16; 'patil': 0.16; 'subject:class': 0.16; 'subject:failed': 0.16; 'wrote:': 0.18; 'all,': 0.19; 'bit': 0.19; 'header:User-Agent:1': 0.23; 'error': 0.23; 'fine': 0.24; 'compiled': 0.26; 'posts': 0.26; 'excel': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'code': 0.31; 'apparently': 0.31; 'class': 0.32; 'probably': 0.32; 'another': 0.32; 'copying': 0.34; 'problem': 0.35; 'but': 0.35; 'there': 0.35; 'machine.': 0.36; 'doing': 0.36; 'method': 0.36; 'error.': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'range': 0.61; 'developed': 0.63; 'frequently': 0.68; 'received:74.208': 0.68; 'internet': 0.71; 'seldom': 0.84; 'sheet': 0.93 Date: Tue, 23 Dec 2014 07:09:15 -0500 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Select method of Range class failed References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:TKmtLQnIa6T/oV2e9M1le9vQN6hWhEB1j1Etp72T9Bm G8fiyegEvkblwUsal9dQxjlNm9WspWN52uK35drg06TUyLqndV 0/5SAcGnOqR+o6MMNdNSHXF59YbYF/UP7yhIle1+/0593wABLD 7KgKx1sQ0H1U6Km8NDB17S3cfLZzy8qOclEwUevfPJ35pp3gnu ndUD2F/aM67nRz/ijQwP4oYP1A2D3uCjrdG3S/BdvY0Y7uzwfw 8RHhFp2HYSch6Qs2B/AEbkL2vUaf6d5p/xv8MjcDnhmaKAig3h L/dxqWiudkAYXf18OcX2mhm6QVMG0CnItbG4ikfbVM5QoGmb5C 60YylOMSrdhZF1HrtQDg= X-UI-Out-Filterresults: notjunk:1; X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1419336569 news.xs4all.nl 2838 [2001:888:2000:d::a6]:42521 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:82836 On 12/23/2014 06:04 AM, Jaydeep Patil wrote: > Hi all, > > I have developed python code which copy & paste data from one excel sheet to another excel sheet. I have compiled code both for 32 bit & 64 bit. It is working fine on 64 bit machine. But on 32 bit, it is giving below error. > > rng.Select() > "Select method of Range class failed" > > Just to know you, I am continuously copying data from one excel sheet to another sheet. > There are a larg number of posts on the internet where people have the same error message in VBA. it's probably a fundamental problem in the Excel logic. One solution frequently posted is to avoid doing a select; apparently it's seldom actually necessary: http://www.mrexcel.com/forum/excel-questions/585856-runtime-error-1004-select-method-range-class-failed.html -- DaveA