PC Review


Reply
Thread Tools Rate Thread

how to create programmatically a table?

 
 
Britt
Guest
Posts: n/a
 
      10th Nov 2006
Hi,

I want to create a table programmatically in excel. How can o do this
("create table ....")??
And then, how to put it in specific cells in the worksheet, and possibly
put it into sheet2 of the same worksheet?

Thanks for gelp
Britt



 
Reply With Quote
 
 
 
 
NickHK
Guest
Posts: n/a
 
      10th Nov 2006
You need to use SQL statements ?
If so you will need to use ADO or DAO, although I have not use these types
of SQL on Excel, but I suppose it should work.

But you say this is written in Excel.
So why not just :
Dim NewWS as worksheet
set newws=ThisWorkbook.Worksheets.Add
newws.range("A1").value="New data"

But depends what you mean by a "table" ?

NickHK

"Britt" <(E-Mail Removed)> wrote in message
news:uU%(E-Mail Removed)...
> Hi,
>
> I want to create a table programmatically in excel. How can o do this
> ("create table ....")??
> And then, how to put it in specific cells in the worksheet, and possibly
> put it into sheet2 of the same worksheet?
>
> Thanks for gelp
> Britt
>
>
>



 
Reply With Quote
 
Britt
Guest
Posts: n/a
 
      10th Nov 2006
Thanks, i'll try

"NickHK" <(E-Mail Removed)> schreef in bericht
news:(E-Mail Removed)...
> You need to use SQL statements ?
> If so you will need to use ADO or DAO, although I have not use these types
> of SQL on Excel, but I suppose it should work.
>
> But you say this is written in Excel.
> So why not just :
> Dim NewWS as worksheet
> set newws=ThisWorkbook.Worksheets.Add
> newws.range("A1").value="New data"
>
> But depends what you mean by a "table" ?
>
> NickHK
>
> "Britt" <(E-Mail Removed)> wrote in message
> news:uU%(E-Mail Removed)...
>> Hi,
>>
>> I want to create a table programmatically in excel. How can o do this
>> ("create table ....")??
>> And then, how to put it in specific cells in the worksheet, and possibly
>> put it into sheet2 of the same worksheet?
>>
>> Thanks for gelp
>> Britt
>>
>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create a table programmatically in excel? Britt Microsoft ADO .NET 2 10th Nov 2006 02:12 PM
how to create a TemplateField programmatically? Cas Microsoft VB .NET 0 22nd Oct 2006 08:25 PM
How To - Programmatically Create DL In Exchange GAL? joey.powell@topscene.com Microsoft C# .NET 0 29th Sep 2006 08:42 PM
How do I programmatically delete a link to a table in a linked file where the table has been deleted? Jon A Microsoft Access Form Coding 2 14th Apr 2005 01:08 AM
How to programmatically create a partition? =?Utf-8?B?QW1hZHJpYXM=?= Microsoft Dot NET 11 19th Jan 2005 07:14 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:33 AM.