ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Copy data from excel to a defined table in another spreadsheet (https://www.excelbanter.com/excel-programming/332692-copy-data-excel-defined-table-another-spreadsheet.html)

DSTDIVA3

Copy data from excel to a defined table in another spreadsheet
 
I have been having problems copying data from one spreadsheet to a defined
table in another spreadsheet. I would get all kinds of errors such as the
table is not updatable or the object is not recognized. I am doing this in
VB. Does anyone have any insight about the situation?

Tom Ogilvy

Copy data from excel to a defined table in another spreadsheet
 
What is a defined table?

If it a data pull, then it is updated by pulling data. (refresh the table)

--
Regards,
Tom Ogilvy

"DSTDIVA3" wrote in message
...
I have been having problems copying data from one spreadsheet to a defined
table in another spreadsheet. I would get all kinds of errors such as the
table is not updatable or the object is not recognized. I am doing this

in
VB. Does anyone have any insight about the situation?




DSTDIVA3

Copy data from excel to a defined table in another spreadsheet
 
A defined table in excel is when you give a range a name. When you highlight
a specific range and click the box on the left and type a name in that box
then press enter, you have defined a table. When I execute the SQL statement
to update the data, that's when I get an error.

"Tom Ogilvy" wrote:

What is a defined table?

If it a data pull, then it is updated by pulling data. (refresh the table)

--
Regards,
Tom Ogilvy

"DSTDIVA3" wrote in message
...
I have been having problems copying data from one spreadsheet to a defined
table in another spreadsheet. I would get all kinds of errors such as the
table is not updatable or the object is not recognized. I am doing this

in
VB. Does anyone have any insight about the situation?





Tom Ogilvy

Copy data from excel to a defined table in another spreadsheet
 
If you want to use a query to put data in a worksheet, use a querytable.

If you use ADO to get data using an SQL statement, then you can use copy
form recordset and use your defined table as the anchor.

--
Regards,
Tom Ogilvy

"DSTDIVA3" wrote in message
...
A defined table in excel is when you give a range a name. When you

highlight
a specific range and click the box on the left and type a name in that box
then press enter, you have defined a table. When I execute the SQL

statement
to update the data, that's when I get an error.

"Tom Ogilvy" wrote:

What is a defined table?

If it a data pull, then it is updated by pulling data. (refresh the

table)

--
Regards,
Tom Ogilvy

"DSTDIVA3" wrote in message
...
I have been having problems copying data from one spreadsheet to a

defined
table in another spreadsheet. I would get all kinds of errors such as

the
table is not updatable or the object is not recognized. I am doing

this
in
VB. Does anyone have any insight about the situation?








All times are GMT +1. The time now is 05:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com