|
-
Apr 24th, 2006, 07:58 AM
#1
Thread Starter
Lively Member
[RESOLVED] Add Table (rows) in a loop
I'm collecting data on a form (array) and I want to add this data to the document as a table.
How would I go about doing that?
I'm using word 2003
Last edited by SammyWaslow; Apr 24th, 2006 at 08:04 AM.
Using Visual Studio 2005 / Framework 2.0
-
Apr 24th, 2006, 09:10 AM
#2
Re: Add Table (rows) in a loop
Have a look at my post here for an example of how to build a table dynamically based on an array.
Declan
Don't forget to mark your Thread as resolved.
Take a moment to rate posts that you think are helpful 
-
Apr 24th, 2006, 09:45 AM
#3
Thread Starter
Lively Member
Re: Add Table (rows) in a loop
Using Visual Studio 2005 / Framework 2.0
-
Apr 25th, 2006, 02:03 PM
#4
Thread Starter
Lively Member
Re: Add Table (rows) in a loop
Bummer! Am I crazy or doesn't VBa support multiple dimension arrays?
I need 2 use a 2 dimensional array of type string.
Is this possible ?
Using Visual Studio 2005 / Framework 2.0
-
Apr 25th, 2006, 02:07 PM
#5
Re: Add Table (rows) in a loop
You're crazy
VBA does support multidimensional arrays.
VB Code:
Dim asMultiDim(0 To 9, 0 To 99) As String
Last edited by DKenny; Apr 25th, 2006 at 02:11 PM.
Declan
Don't forget to mark your Thread as resolved.
Take a moment to rate posts that you think are helpful 
-
Apr 25th, 2006, 02:12 PM
#6
Thread Starter
Lively Member
Re: Add Table (rows) in a loop
Thanks,
though I started working on a solution using two single dimension arrays ...
Using Visual Studio 2005 / Framework 2.0
-
Apr 25th, 2006, 02:29 PM
#7
Re: Add Table (rows) in a loop
Sammy
Don't forget to mark this thread as resolved if your question has been answered.
Declan
Don't forget to mark your Thread as resolved.
Take a moment to rate posts that you think are helpful 
-
Apr 25th, 2006, 02:52 PM
#8
Thread Starter
Lively Member
Re: Add Table (rows) in a loop
Yes, I will, sorry
As a comment:
What's vba clumsy compared to .net. Ugh!
Using Visual Studio 2005 / Framework 2.0
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|