473,323 Members | 1,560 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Please help friends

NRB
Dear friends,
Please help me.I am new to VBA programming in access.I need to open a
query in MS access database and send those data to a existing excel
sheet with the formulas.
Please help me with the code.Can anyone pst a code.I need the data to
be transferred to the existing excel sheet as that sheet contains many
formulas.
Thanks
Nithin
Nov 13 '05 #1
2 1384
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

For a more accurate placement in the spreadsheet, use Excel's import
data (get data) option (under the Data menu).

If that doesn't work, 'cuz of VBA functions in the Access query, you can
only export an Access query's results to a separate worksheet. Use the
TransferSpreadsheet method. Read the VBA help function on
TransferSpreadsheet Method.

--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQSpmV4echKqOuFEgEQKPaACg6fWpvP1tBWkZ8IDeR0f2iq g9KssAoJwe
7C5SLGS+kMGBwxq50cQmoPvz
=gZ4Z
-----END PGP SIGNATURE-----
NRB wrote:
Dear friends,
Please help me.I am new to VBA programming in access.I need to open a
query in MS access database and send those data to a existing excel
sheet with the formulas.
Please help me with the code.Can anyone pst a code.I need the data to
be transferred to the existing excel sheet as that sheet contains many
formulas.


Nov 13 '05 #2
bn********@rediffmail.com (NRB) wrote in message news:<e4**************************@posting.google. com>...
Dear friends,
Please help me.I am new to VBA programming in access.I need to open a
query in MS access database and send those data to a existing excel
sheet with the formulas.
Please help me with the code.Can anyone pst a code.I need the data to
be transferred to the existing excel sheet as that sheet contains many
formulas.
Thanks
Nithin


Read this:
http://www.mvps.org/access/modules/mdl0035.htm
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Mavis Tilden | last post by:
Hi all, So I've been reading the newsgroups, and reading a few books trying to learn SQL and SQL Server 2000. The books tell me I need a Primary Key, and that every table should have one. I know...
6
by: (Pete Cresswell) | last post by:
I'm makeing a little DB to help manage high school class reunions. One feature I'm trying to implement is "Friends". e.g. Fred Smith is a friend of Joe Jones and Bill Anderson. We record...
11
by: zhangzhan | last post by:
hello.everyone,i am an chinese.i study in shanxi unniversity,as i like english very much,i also wanr to make friends with a foriger. .....i really don't kown what i should to say ,as i first came...
1
by: ravinderrawat85 | last post by:
I have installed "MIcrosoft Visual studio.net 2003" on XP platform,used it for a month but now I'm facing the following problems: 1. my system shuts down whem i m using MSDN or any other .net...
3
by: shaun roe | last post by:
Hello, I am working in a framework with certain restrictions; in particular I have a 'data' class with getter and setter methods, and a some 'filling' classes which know how to insert the data to...
2
by: LeXave | last post by:
Hi all I've got the following problem in my database structure : I have a table "User". Each user can have one or more friends which are users too. And I have no idea about the way I must think...
6
by: fido19 | last post by:
Once upon a time, there lived a chimpanzee called Luycha Bandor (aka Playboy Chimp). Luycha was unhappily married to Bunty Mona, a short but cute little lady chimp. Luycha was tall and handsome –...
4
by: mattehz | last post by:
Hey there, I am trying to upload old source files and came across these errors: Warning: Invalid argument supplied for foreach() in /home/mattehz/public_html/acssr/trunk/inc_html.php on line 59...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.