Thanks Fred That works, I was trying to skip the effort to copy all the formulas.
Thanks Jerry -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Fred Taylor Sent: Tuesday, March 01, 2011 1:25 PM To: ProFox Email List Subject: Re: Copy Excel Row with automation oExcel.Rows(5).Insert() inserts before the row specified. There are parameters to the Insert() method, but I don't know off the top of head what the parameters are. Once you've inserted a row, you can put you copy in that new blank row. Fred On Tue, Mar 1, 2011 at 11:55 AM, Jerry Foote <[email protected]> wrote: > 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: [email protected] [mailto:[email protected]] 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 > <[email protected]>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: [email protected] 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/FE544DA6C64C490E9CDE8F7B14E8ECFD@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.

