Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default transfer spread sheet

i wish to create a button in excel worksheet by clicking on which i can
transfer the data in the master sheet to a table in access.

please help me with the VBA code

Many thanx in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default transfer spread sheet

It might be easier to create a macro in Access to do the transferspreadsheet
function then call the macro.

Dim appAccess, strConPathToDB
strConPathToDB = "D:\data\Access\db1.mdb"
Set appAccess = CreateObject("Access.Application.11")
appAccess.OpenCurrentDatabase strConPathToDB
appAccess.DoCmd.RunMacro "TestMacro"
appAccess.Quit
Set appAccess = Nothing

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Access" wrote:
|i wish to create a button in excel worksheet by clicking on which i can
| transfer the data in the master sheet to a table in access.
|
| please help me with the VBA code
|
| Many thanx in advance


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
Transfer CELL value and spread it among 24 ROWs on another sheet rhhince[_2_] Excel Worksheet Functions 1 June 22nd 07 11:00 AM
how do i transfer dada from one spread sheet to another ziggy Excel Worksheet Functions 1 April 13th 07 10:56 PM
how do i enter a bull call spread into the options spread sheet ? alvin smith Excel Worksheet Functions 0 November 27th 06 01:23 AM
Help about image transfer to excel spread sheet Ali Noor New Users to Excel 1 August 2nd 06 04:45 PM
How can I transfer a Lotus 123-9 data spread sheet file to Excel? EDECHO Setting up and Configuration of Excel 2 August 26th 05 11:23 PM


All times are GMT +1. The time now is 07:39 AM.

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"