473,395 Members | 2,253 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,395 software developers and data experts.

To get an automatic number when the button refresh press

Im preparing in an excel sheet a purchase order form and im just new with the VBA and right now im just learning how make it in excel.
Im currently stocked with the problem that I do not know how I can have a continuous number – to have a +1 prior to the last Order number. I have at cellK10 the cell for the order number, when the refresh button is press and the fixed number I saved at cell P10.
Will it also be possible that when I will press again the refresh number it will give me the correct synchronize number since I need to save every form separately.
Hope you can help me with this issue.
Thank you!
Dec 6 '12 #1
2 1300
TheSmileyCoder
2,322 Expert Mod 2GB
Based on the information provided, and the requirements listed, it sounds to me like you would be better of making an access database, and either print as pdf, or export to excel.

Access has autonumber capability for one, and you can store all orders in a single system. Storing seperate orders in seperate excel files sounds like a headache waiting to explode.
Dec 6 '12 #2
NeoPa
32,556 Expert Mod 16PB
I'm with Smiley on this one. Definitely an Access type of project, and I'd advise you to explore further in that direction.

However, you didn't ask about that so I'll see what I can suggest that might help. Very little at this stage as what you have is not very clear, and knowing what you may require is pretty well impossible without an understanding of where you're starting from. Why don't you explain exactly what you're working with and all the relevant columns and we can see what we can suggest for you.
Dec 6 '12 #3

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

Similar topics

5
by: fatih kayaalp | last post by:
Hi, i have imported an access database into sqlserver 2000. In access, i have some table fields which were using automatic number as datatype. But i see that there is not a datatype in sqlserver...
1
by: Ed Sutton | last post by:
<Newbie> How can I get arguments, and build a query URL, before a button is pressed? I have a text box to enter a serial number. When the search button is pressed, I wish append the serial...
3
by: huhey | last post by:
Hi I am trying to make a html page where I have 3 swf files which I would to be shown randomly when you refresh the page. However I can't get the code to work. I have tried to delete the...
1
by: thewickedman | last post by:
Hi, I try to open new OpenOffice document (writer), But I am getting the exception FRM 40735:WHEN-BUTTON-PRESSED Trigger Raised unhandled Exception ORA - 305500 Please help me to resolve...
9
by: Navaneet | last post by:
Hi, Can anyone tell me how to prevent some particular POST DATA when refresh button (F5) clicked on server side(vb.net). Thanks Kumar N
1
by: pallavi25 | last post by:
how to click the submit button after press the enter key?? plz.. can u help me...
5
by: milk242 | last post by:
Hi everyone I'm trying to change what shows up in the contentpane depending on what button you press. Say you press a button labeled "Customer", it would add textfields to the content pane. I...
9
by: ghjk | last post by:
change the background image when Button Click ====================================== I' developing site with php and postgres. It has menus list in the left side. and all are images(jpg) EX:Add...
1
by: Karan Singh Goyal | last post by:
I have an access table which have fields like Customer Id, First Name, Last Name etc. i know how to generate auto number but when i delete last record it generates next number instead of previous one...
0
by: anis amor | last post by:
Hello everyone, I am currently wrapping some C functions into Php functions using SWIG. But actually, I don't know what does happen when I refresh the page. It appears that my wrapped...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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,...

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.