Results 1 to 11 of 11

VBA extract certain parts of array

Threaded View

  1. #1
    Forum Contributor
    Join Date
    01-16-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    136

    VBA extract certain parts of array

    Hi,

    I've put some data in a table that gives marks into an array and want to display it in three separate tables. One for Maths only another History only and Finally Biology only.

    I can do the first one but is it possible to do this for History and maths. See attached showing desired output.



    
    Sub arrdg()
    
    Dim arr() As Variant
    arr = Range("A1", Range("D10").End(xlUp))
    
    'Range("D11").Resize(UBound(arr, 1), UBound(arr, 2)) = arr
    
    'Maths
    Range("A9").Resize(UBound(arr, 1), 2) = arr
    
    
    Erase arr
    
    End Sub
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Formula to extract or remove specific parts of text
    By chrisellis250 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-12-2017, 12:13 PM
  2. [SOLVED] Extract numeric value from string, and multiply by parts Qty
    By Anxiety in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-01-2015, 11:09 AM
  3. Formula to extract parts of text string
    By edorris3 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-11-2014, 10:22 AM
  4. SUBSTITUTE or EXTRACT parts of a cell
    By ElMasry in forum Excel General
    Replies: 6
    Last Post: 07-14-2010, 01:56 PM
  5. Totalling Sum of Parts in a 2 column array.
    By steev_jd in forum Excel General
    Replies: 2
    Last Post: 04-26-2006, 10:25 AM
  6. Extract certain parts of string
    By djDaemon in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-02-2006, 03:45 PM
  7. [SOLVED] RE: Extract certain parts of string
    By djDaemon in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-02-2006, 11:35 AM

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