+ Reply to Thread
Results 1 to 7 of 7

Store array of relative cells in a cell

  1. #1
    Registered User
    Join Date
    11-23-2014
    Location
    NYC, NY
    MS-Off Ver
    2007
    Posts
    2

    Store array of relative cells in a cell

    How can you store an array of relative cells in a cell, for example:

    Please Login or Register  to view this content.
    I want to reference the cell as the source for an axis.

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Store array of relative cells in a cell

    you can use an array

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Store array of relative cells in a cell

    John, welcome to the forum

    Can you be a bit more detailed in what it is you are trying to do?
    (Tim, that is already an array)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    11-23-2014
    Location
    NYC, NY
    MS-Off Ver
    2007
    Posts
    2

    Re: Store array of relative cells in a cell

    You can do "={1,2,3}", but doing "={C1,C2,E4}" gives an error. Is there a way to do array constants with relative cells?

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Store array of relative cells in a cell

    On its own, "={1,2,3}" will give you 1. what exactly are you trying to do?

  6. #6
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Store array of relative cells in a cell

    i meant an array in VBA

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Store array of relative cells in a cell

    Quote Originally Posted by tim201110 View Post
    i meant an array in VBA
    Still does not really explain how to do what you are suggesting?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Excel data connections how to store Relative Path?
    By smile0 in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 02-16-2017, 01:24 PM
  2. [SOLVED] Problems to store visible cells into array
    By cgkmal in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-11-2014, 08:21 PM
  3. How to store strings in a array and paste them in individual cells in MS ACCESS..
    By shobinp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-22-2012, 03:36 AM
  4. Copying from textbox to relative cell in array
    By kuraitori in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-07-2008, 08:27 PM
  5. Store array contents in single cell
    By Bill James in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-12-2007, 03:15 PM

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