473,805 Members | 2,021 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to input/output from/to a single cell in excel?

33 New Member
Okay so i have an excel spreadsheet that has some customer populated cells. The customer answers are:
Customer name in cell B4
Contact Name in cell F4
Phone number in cell F5
Acct. Manager in cell B13
Products in column H
Qty in column I


I have a blank space in the spreadsheet in cells G18 and G19

I would like the date to go in G18 and a currency value to go into G19

I have a query that will take the items in column H and based on qty of column I, it will provide the currency value to go into cell G19.


I have a table called "quote" that has the following fields :
quote id (set up as an auto number),custome r name, contact name, phone number, acct. manager, date,and total price(the currency value)


So what i want is to use this sheet to input the data into access, store all the info in the "quote" table(dont care about storing the data in column H and I) Then run the query using the data in columns H and I, get that total price from that query and also store it into the "quote" table.

Then once this quote table is populated, output the data into a copy of the same spreadsheet using the same format.

Is this possible? Sorry if this is a little confusing. I can send over my database and spreadsheet if someone could do this for me.

Thanks in advance.
Oct 11 '10 #1
2 2702
dsatino
393 Contributor
Yes, it's possible. You'll need to use VBA and the methods associated with Excel. I've not used them often so I don't want to write you any code specifically.

You might want to just google MS Excel VBA. You should get some pretty good results on how to navigate around the sheet.
Oct 12 '10 #2
kent christensen
33 New Member
I tried to google it but i could not get it to work. If anyone is willing to help me do this i could send over the excel file and database and give you better instructions. It would be greatly appreciated.
Oct 13 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1586
by: Hans | last post by:
I have a Windows.Forms.Form containing a DataGrid where the DataSource is a DataView. Everything refreshes fine after adding, deleting or editing rows. When I close the dialog and reopen it with a new set of data, all is okay showing the new rows of data. But when I go back to the first set of data, I get the correct data except for ONLY the second column of the first row contains the data from the second set of data. If I cause it to...
1
9087
by: PCK | last post by:
I am trying to select a single cell from an Excel workbook. I am using the following code. strCN = GetExcelConnection("C:\Test\Excel.xls") strCMD = "select * from " oleDbCN = New OleDb.OleDbConnection oleDbCN.ConnectionString = strCN oleDbCN.Open() oleDbCMD = New OleDb.OleDbCommand oleDbCMD.Connection = oleDbCN oleDbCMD.CommandType = CommandType.Text
1
2829
by: Mamatha | last post by:
Hi I want to export data from textfile to Excel sheet in VB.NET application.When i copy the text file into Excel sheet the data of text file are copied to only one cell of the Sheet. Now i want like this: Each item of the textfile will be displayed into different cell of the sheet(one item corresponds to one cell horizontally).How can write code for this in VB.NET.
4
15081
by: Kevin Mansel via .NET 247 | last post by:
Ok, basically this is my problem. I'm building a console app tocall a dos program. So i'm using the Shell command to call theprogram, now depending on what happens, I want to read theoutput that this program returns. I'm just missing the stepshere. I know that I can set the Shell command to an integer,but this only returns a 0 to me telling me that it executed, notwhat is being returned to the console by that application. Isthere a way to...
4
11442
by: Jerry LeVan | last post by:
Hi, I am adding image and large object support in my Cocoa postgresql browser. Are there going to be any enhanced bytea support functions coming along? It seems sorta silly to have to write customized C code to import a file into a bytea field.
3
3289
by: RJN | last post by:
Hi I've a template excel file which has all the calculations defined. There are certain input values to be entered which gives a lot of output to the user. I don't want to expose the excel sheet to the user as calculations become visible. I'm writing a web interface which takes the input values from user, updates the excel sheet and returns the recalculated output from the excel file. I'm using ADO.Net to update and read the excel file.
0
1021
by: Kim Bendtsen | last post by:
I'm trying to write a script in python that communicates with a perforce server. I can get the output from perforce by using -G and the popen command. I have a problem when I'm trying to send a request to the server using marshaled input. I cannot find a single example anywhere on the net describing it. I would very much appreciate if anyone could provide a simple example, or a secret link or smth. And if there is any documentation on...
13
2783
by: kdee | last post by:
Hi to everyone! I'm actually a beginner in access/vba etc. Like many of you, I also have a problem with something. That »something« is called »How to get values from a field in a table or a query shown in a single cell on a report? (They should be separated with commas and limited to a cell in a report)”. If somebody knows the answer to this or knows the article about it, please , be so kind to reply an answer or direct me to some...
1
1266
by: cloh | last post by:
I have a form in Access that generates an Excel Workbook with multiple worksheets. Each worksheet is unique to a particular location. The top row of each sheet shows the dates, the left-most column has the times of the day in 5 minute intervals. Let's say the dates range from 7/01/2007 to 9/01/2007 The aim of the form is to eventually create a chart for each date that the user wants. On the form, I get the user to input either a single date...
1
1340
by: cristus | last post by:
hi, it's this posible in excel/vba? write all data from web import into single cell (concatenate all data and write to a single cell) Thank you
0
9716
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10604
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10361
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10103
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9179
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7644
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5676
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4316
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.