Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
| Search | Today's Posts | Mark Forums Read
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 7th, 2004, 10:05 AM
Registered User
 
Join Date: Jan 2004
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Saving data from an array into a variable

Hi again

New problem for me!
People, I would like to this:
I have an array, totally populated and a variable.
My question is: How I can put all values in my variable concatenated one by one?
like this.
array1(1,2,3,4,6,10)
variable = 1 2 3 4 6 10
Have you got the idea?

hughes for all

 
Old January 7th, 2004, 10:09 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Use the Join function.
variable = Join(array1, " ")




Similar Threads
Thread Thread Starter Forum Replies Last Post
ArrayList Variable Holding Array iceman90289 C# 2005 1 June 24th, 2008 12:34 AM
Saving Data with Report latingntlman Reporting Services 0 March 18th, 2008 04:52 PM
Data Cache not saving rturner003 ASP.NET 2.0 Professional 1 August 8th, 2007 07:29 PM
saving data from a array Hylsan PHP Databases 0 February 15th, 2007 04:17 AM
saving a variable allee_man Pro VB 6 3 January 5th, 2005 03:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.