+ Reply to Thread
Results 1 to 5 of 5

delete row array

  1. #1
    Registered User
    Join Date
    03-16-2009
    Location
    italy
    MS-Off Ver
    Excel 2003
    Posts
    64

    delete row array

    i've problems with the following macro
    i need to delete some entry in the array
    if might help the array ha s about 3000 row and 600 column

    Please Login or Register  to view this content.
    all the best and thanks for help

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: delete row array

    You can "Empty" Items within an Array but physically deleting the Item is a little more cumbersome.

    From what I can tell you're looking to populate a variant Array with the contents of a used range and then remove all Fridays, is that correct ?

    What are you doing with the Array subsequently ?

    My first point would be that you really don't need to iterate the Range row by row & column by column to populate, ie:

    Please Login or Register  to view this content.
    Nor do you really need to format each item within the Array per your date format.

    If you can outline the overall plan we can probably help you streamline a little further.

  3. #3
    Registered User
    Join Date
    03-16-2009
    Location
    italy
    MS-Off Ver
    Excel 2003
    Posts
    64

    Re: delete row array

    thank,for your help
    this work is done so far without using array but working with rows and columns ,but it takes much time,so i thought using array it
    would speed up my macro.
    i need for each column the moving average last 32 friday,last 16 friday,last 8 friday,last 4 friday,last 2 friday,last 25 friday,last 12 friday,last 6 friday,
    my thought was (as i do with excel) to delete all row except that related to fridays and to sum up as example last 32 value of the column and divide the by 32.
    Attached Images Attached Images

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: delete row array

    Attach a workbook, not images
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Registered User
    Join Date
    03-16-2009
    Location
    italy
    MS-Off Ver
    Excel 2003
    Posts
    64

    Re: delete row array

    done,the macro is the "multy_array",you can run it,at the moment i've been able to substitute the entry that i'd like to delete(but i'not able) with the number 0
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1