-
Jan 21st, 2021, 01:59 PM
#1
Thread Starter
New Member
How to auto increment cell value after printing results on each cell VB Excel?
I have attached two pictures on the link below to describe it more simply.
https://imgur.com/a/ok50AIU
We need to find the optimum monthly Cost(cost effective) by changing order quantity and Re-Order points for a warehouse.
So I created the table on the right hand side and I want write an Excel or VBA function so that
every cell of the table will look at the order quantity value and Re-order point value from the graph, simulate the monthly cost and then print the coresponding monthly cost in each cell of that table.
any help would be appreciated.
Running scenario manager for each case is not practical since I have to set parameters for each case by hand.
Office 365 English: Windows 10: Excel knowledge: Intermediate
-
Jan 21st, 2021, 04:30 PM
#2
Re: How to auto increment cell value after printing results on each cell VB Excel?
good afternoon, CE....
I believe you are working with VBA, not VB6. Is that true? If so, I will ask a moderator to move this Thread to a different part of this forum (Office Development). There, you will find more people with expertise in VBA and Excel.
Sammi
Sam I am (as well as Confused at times).
-
Jan 21st, 2021, 04:46 PM
#3
Re: How to auto increment cell value after printing results on each cell VB Excel?
It's already been reported, along with its twin in the .NET area. Should be cleaned up shortly.
-tg
-
Jan 21st, 2021, 04:48 PM
#4
Re: How to auto increment cell value after printing results on each cell VB Excel?
Sam I am (as well as Confused at times).
-
Jan 22nd, 2021, 03:18 AM
#5
Re: How to auto increment cell value after printing results on each cell VB Excel?
i am not sure what the printing part in the title refers to
i can not see from the images how the data is supposed to be related to the order point for each item, i would suggest that a sample workbook (zip first) should be attached to a post here, with a lot more detail of desired results
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Jan 22nd, 2021, 04:09 AM
#6
Thread Starter
New Member
Re: How to auto increment cell value after printing results on each cell VB Excel?
Originally Posted by westconn1
i am not sure what the printing part in the title refers to
i can not see from the images how the data is supposed to be related to the order point for each item, i would suggest that a sample workbook (zip first) should be attached to a post here, with a lot more detail of desired results
im trying to attach my file here, it does not let me.
you are right, thats what I meant by printing. printing results into a workbook.
I tried using Excel Addin Solver. Its nice, but it does not give a ma tri of different results
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|