Re: Copy/Paste

From: Myrna Larson (anonymous_at_discussions.microsoft.com)
Date: 10/31/04


Date: Sat, 30 Oct 2004 20:07:47 -0500

Turn on the macro recorder and insert the rows. Then modify the code to
determine the criteria for the number of rows to insert. BTW, this sort of
thing is best done by processing the rows from the bottom up. If you do it
from the top down, after inserting, say, 3 rows at row 5, what was row 6 is
now row 9, which causes havoc with For/Next loops.

On Sat, 30 Oct 2004 13:50:54 +0100, Robert <robert@rlh1.com> wrote:

>I have 1500 rows of data in columns A:S
>There is always data in columns A:K, the incidence of entries in L:S
>varies.
>When, for example, there is an entry in column L, row 5, I want to
>insert a row immediately after row 5, copy A5:J5 to A6:J6 and copy the
>entry in L5 to K6.
>When there are entries in columns L,M,N etc, I want to insert the
>corresponding number of rows and repeat the above copy/paste routine
>accordingly.
>Grateful for any advice.



Relevant Pages

  • Re: "Magic" versus "miracle" -- was Re: Evidence for Christianity?
    ... IOW Give the NECESSARY and SUFFICIENT conditions for "miracle" ... some people have believed in some sort of law of "progress" whereby ... and it meets any of three criteria: ... evidence of His special power. ...
    (uk.religion.christian)
  • Re: Sorting / Grouping and sorting in the stored procedure
    ... Up to this point I have allowed Access to sort the returned record set ... upon Sorting and Grouping criteria. ... My questions is if the retuned record set is presorted, does this help, ... When you use "Sorting and Grouping" feature, ...
    (microsoft.public.access.adp.sqlserver)
  • Re: thoughts on Jesus
    ... is that some sort of maternal instincts I bring out in you or is it ... BTW you don't win many arguments around here with childish name calling. ... thought that good ol' Southern gals were into good manners and would know ... BTWIf you persist in giving me advice in replies to Ye Old One there is ...
    (talk.origins)
  • Re: Sorting Records
    ... You can sort the records in the form by setting its OrderBy property, ... If a user enters data in the Number field I would like to sort by number, however, if the user enter criteria in the lock field I would like the records sorted by the lock field. ...
    (microsoft.public.access.formscoding)
  • Re: Text-links using POST ?
    ... thinking through designs for the pages, etc when I came across a thought.... ... Maybe from within a form or using CSS to modify the behavior of links? ... are better ways to do this sort of thing (especially since ... rewrites a requested URL of the form ...
    (comp.infosystems.www.authoring.html)