473,386 Members | 1,733 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,386 software developers and data experts.

Input by popup?

I'm trying to make a textbox pop up that requests that you put in information, and then that information is put into a specified cell. Data would exist in the cell, and the text put into the textbox would have to overwrite a specific area in that cell. An example is below.

PHOTOS ORDERED: 12 PHOTOS RECEIVED: 8

This would all be in one cell. The words PHOTOS ORDERED: and PHOTOS RECEIVED: would need to remain, and the numbers would need to be overwritten by what numbers are entered in the textbox, and the numbers are not always the same. I don't know where to start with this, or if it can be done. Any assitance would be greatly appreciated. Thank you!
Jan 6 '07 #1
2 2170
willakawill
1,646 1GB
I'm trying to make a textbox pop up that requests that you put in information, and then that information is put into a specified cell. Data would exist in the cell, and the text put into the textbox would have to overwrite a specific area in that cell. An example is below.

PHOTOS ORDERED: 12 PHOTOS RECEIVED: 8

This would all be in one cell. The words PHOTOS ORDERED: and PHOTOS RECEIVED: would need to remain, and the numbers would need to be overwritten by what numbers are entered in the textbox, and the numbers are not always the same. I don't know where to start with this, or if it can be done. Any assitance would be greatly appreciated. Thank you!
Hi. I will assume that you know how to enter a value into a cell. Here is how to collect the value:

Expand|Select|Wrap|Line Numbers
  1. Dim stIn1 As String
  2. Dim stIn2 As String
  3. Dim stCell As String
  4.  
  5. stIn1 = InputBox("Please enter the number of photos ordered", "Photos Ordered")
  6. stIn2 = InputBox("Please enter the number of photos received", "Photos Received")
  7.  
  8. stCell = "PHOTOS ORDERED: " & stIn1 & "         PHOTOS RECEIVED: " & stIn2 
Jan 7 '07 #2
I have the popup boxes requesting input now, thank you! Where do I specify the cell to enter the data into? I'm putting the macro on a different sheet other than the one where this macro will be ran. The worksheet that will be edited is called orders.xls. Thanks again!!
Jan 7 '07 #3

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

Similar topics

5
by: C. Smith | last post by:
I am a web developer building html data entry forms that have a lot of date input fields (month, date, year) on them. I'd like to have a "popup" calendar that allows the user to pick the date using a...
14
by: Mark | last post by:
Hi, At the top of my php file I have got :- <body onblur="self.focus();"> so when I click off onto another window, my window comes back up in front which is perfect. The problem however, is...
1
by: thomasp | last post by:
I am two days into trying to add some javascript to a webpage, so I know very little about it or any other programing language, so please bear with me. I have managed to get onMouseover and...
0
by: darren | last post by:
When using the html input file (input type=file), is there anyway to NOT have the file loaded on the server? I am only interested in using this control to browse to a file and then get the filename,...
2
by: Ravi J | last post by:
Hello, in an ASP.NET page, when the user selects certain button, I would like a small browser window to popup and ask user for some input. Once the user enters the data and submits through a...
4
by: peshrad | last post by:
Hi ! I'm working with Win 2K and Visual Studio 2003. I have a problem because pressing <ENTER> in a text input control causes a postback of my web form. Here comes some example code (already...
2
by: jackson2005 | last post by:
OK, I need to do three different things. On the ONLOAD event I would like a popup box to open. In this popup box I need two text boxes. One for the UserName and one for the BillingTo name. ...
2
by: Richard Maher | last post by:
Hi, I'm trying to use the Visibility Style attribute for a Div to effectively PopUp a lightweight window with some additional context-sensitive information, when a user mouses over a given...
2
by: darren.murray2 | last post by:
Hello all, I'm fairly new at this so I may be doing this the wrong way but I've got a FormView within a multiview that when it is updated in edit mode, will call on the update method associated...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...

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.