This is the code to add to your excel file in order for you to increase the price, Please pay special attention where it say's Call CheckDollar ("A") and so on. Basically, I don't know in which column or sheet you…
SKSohaib Khan//1 min read
This is the code to add to your excel file in order for you to increase the price, Please pay special attention where it say's Call CheckDollar ("A") and so on. Basically, I don't know in which column or sheet you have the price $ is placed so what this code does it will look for dollar sign and increase the price in my example by 5% or 10%
Above statement show's price increase by 5% and the following code shows price increase by 10%
PLAINTEXT/28 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Public Sub main()
Call CheckDollar("A")
Call CheckDollar("B")
Call CheckDollar("C")
Call CheckDollar("D")
Call CheckDollar("E")
Call CheckDollar("F")
Call CheckDollar("G")
'etc
End Sub
Public Sub CheckDollar(column As String)
Dim N As Long, i As Long
N = Cells(Rows.Count, column).End(xlUp).Row
For i = 1 To N
' MsgBox (Cells(i, column).NumberFormatLocal)
If InStr(Cells(i, column).NumberFormatLocal, "$$") > 0 Or Cells(i, column).NumberFormatLocal = "$#,##0.00" Then
Cells(i, column).Value = (Cells(i, column).Value) * 1.1
End If
Next i
End Sub
In the world of virtualization and infrastructure management, efficiency is everything. Today, I'm excited to share our latest automation script that transforms the traditionally manual process of creating virtual…
In this post, I’ll walk you through the journey of building DocFlux 2.0, a robust PDF knowledge base application using Python, FastAPI, and cutting-edge NLP tools like OpenAI’s API. We’ll also cover how the frontend…
While desktop transcription tools have dominated the market, Web Whisper emerges as a powerful web-based solution that transforms how we approach audio transcription. As organizations embrace cloud-first strategies,…