+ Reply to Thread
Results 1 to 2 of 2

Question reguarding how VBA works...(hidden arrays?)

  1. #1
    Registered User
    Join Date
    12-23-2010
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    66

    Question reguarding how VBA works...(hidden arrays?)

    Hello,

    I have a question regarding how VBA works. Suppose I want to concatenate two columns of values. Once concatenated, I want to manipulate certain values within the now concatenated column. However, I don't really need to actually see the concatenated values. When programming in VBA, do I have to actually put the concatenated values inside of a worksheet column? Or can VBA store the concatenated values without having to put it into a worksheet? I'd prefer to keep it all in VBA so I don't even have to create a blank worksheet just so VBA can concatenate and then do it's calculations.

    In other words, can I create arrays in VBA without actually specifying where in a worksheet it will be located? Or do I actually need to locate it somewhere?

    Does this make sense?

    Thanks!
    Last edited by anon; 12-23-2012 at 03:03 PM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: Question reguarding how VBA works...(hidden arrays?)

    The short answer is yes.

    Using arrays to manipulate worksheet data in VBA is quite common.
    If posting code please use code tags, see here.

+ 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