Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Opening Access from Excel

Please help!

I need to take a named range of data in Excel 2000 and
append it to an existing table in an Access 2000 database
programatically.

I've been tried different methods and I can't get it to
work. I read about "ADO Connection" but don't quite get
it.


Thank you

Cindy
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Opening Access from Excel

Check out this site Cindy
http://www.erlandsendata.no/english/...php?t=envbadac

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl



"Cindy" wrote in message ...
Please help!

I need to take a named range of data in Excel 2000 and
append it to an existing table in an Access 2000 database
programatically.

I've been tried different methods and I can't get it to
work. I read about "ADO Connection" but don't quite get
it.


Thank you

Cindy



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Opening Access from Excel

Thanks Ron,

I copied that code into my Excel module and modified. I
get a runtime error -2147217900 (80040e14) - Syntax error
in from clause for the line of code below:

rs.Open "PDA Request Tracking", cn, adOpenKeyset,
adLockOptimistic, adCmdTable

Any idea what's wrong? "PDA Request Tracking" is the name
of my table. Thanks for your help.

Cindy

-----Original Message-----
Check out this site Cindy
http://www.erlandsendata.no/english/...php?t=envbadac

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl



"Cindy" wrote in message

...
Please help!

I need to take a named range of data in Excel 2000 and
append it to an existing table in an Access 2000

database
programatically.

I've been tried different methods and I can't get it to
work. I read about "ADO Connection" but don't quite get
it.


Thank you

Cindy



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Opening Access from Excel

Hi cindy

Rename your table
Remove the spaces in your table name

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl



"Cindy" wrote in message ...
Thanks Ron,

I copied that code into my Excel module and modified. I
get a runtime error -2147217900 (80040e14) - Syntax error
in from clause for the line of code below:

rs.Open "PDA Request Tracking", cn, adOpenKeyset,
adLockOptimistic, adCmdTable

Any idea what's wrong? "PDA Request Tracking" is the name
of my table. Thanks for your help.

Cindy

-----Original Message-----
Check out this site Cindy
http://www.erlandsendata.no/english/...php?t=envbadac

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl



"Cindy" wrote in message

...
Please help!

I need to take a named range of data in Excel 2000 and
append it to an existing table in an Access 2000

database
programatically.

I've been tried different methods and I can't get it to
work. I read about "ADO Connection" but don't quite get
it.


Thank you

Cindy



.



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Opening Access from Excel

Hi Ron,

Thanks so much - it works! You're the greatest. Have a
nice day.

Cindy

-----Original Message-----
Hi cindy

Rename your table
Remove the spaces in your table name

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl



"Cindy" wrote in message

...
Thanks Ron,

I copied that code into my Excel module and modified. I
get a runtime error -2147217900 (80040e14) - Syntax

error
in from clause for the line of code below:

rs.Open "PDA Request Tracking", cn, adOpenKeyset,
adLockOptimistic, adCmdTable

Any idea what's wrong? "PDA Request Tracking" is the

name
of my table. Thanks for your help.

Cindy

-----Original Message-----
Check out this site Cindy
http://www.erlandsendata.no/english/index.php?

t=envbadac

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl



"Cindy" wrote in message

...
Please help!

I need to take a named range of data in Excel 2000

and
append it to an existing table in an Access 2000

database
programatically.

I've been tried different methods and I can't get it

to
work. I read about "ADO Connection" but don't quite

get
it.


Thank you

Cindy


.



.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening an ACCESS db from the VBE in EXCEL Doctorjones_md Excel Discussion (Misc queries) 4 April 20th 07 07:35 PM
Opening an ACCESS db from the VBE in EXCEL doctorjones_md[_2_] Excel Worksheet Functions 0 April 20th 07 07:35 PM
Opening an ACCESS db from the VBE in EXCEL Jim Jackson Excel Worksheet Functions 1 April 17th 07 09:12 PM
Opening Access From Excel Kieron White Excel Discussion (Misc queries) 3 April 2nd 06 05:34 PM
Opening Excel via Access Dave[_32_] Excel Programming 1 October 21st 03 06:23 PM


All times are GMT +1. The time now is 02:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"