Author: Jerry Foote
Posted: 2011-03-01 at 13:55:44
Fred
I did not make my self clear, I need to insert the copied row into the sheet
so that for a time I have two records with the same data. It looks like it
just copy the data to the new row.
Ideally the record I copy will be inserted before of after the select record
Sorry
Thanks Jerry
-----Original Message-----
From: profox-bounces@leafe.com [mailto:profox-bounces@leafe.com] On Behalf
Of Fred Taylor
Sent: Tuesday, March 01, 2011 11:40 AM
To: ProFox Email List
Subject: Re: Copy Excel Row with automation
Whoops, that should be:
Copy row 5 with formulas and data to row 10:
oExcel.Rows(5).Select()
oRow=oExcel.Selection
oRow.Copy(oExcel.Rows(10))
Fred
On Tue, Mar 1, 2011 at 10:28 AM, Jerry Foote
<jerryfoote@bellsouth.net>wrote:
> I need to copy a row with the formulas from a excel sheet and then insert
> it
> somewhere else and then change some data in the row
>
> I can change data and insert formulas but hoping for a copy option
>
>
>
> Thanks Jerry
>
>
>
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
> text/plain (text body -- kept)
> text/html
> ---
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/183BA6BA7B4641CBA8E32865A7EC9753@jerryfootePC
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.