Index

Changing Invoice Number in Excel

By Annapoorna

|

Updated on: Aug 31st, 2021

|

4 min read

The world today runs on data, and this data is formatted and presented with the help of various data tools. The most popular one among them is the Microsoft Excel spreadsheet. The potential and capabilities of excel are considerably immense, provided the tools and functionalities available in the software are made use of optimally.

Steps to Change Invoice Number

Macros are a function that enables you to automate excel, thus helping you save time. A macro is an action that can be performed repeatedly. When a macro is created, it records the mouse clicks and keystrokes.

Step 1: Create an invoice in excel

Excel has a variety of invoice templates that one can choose from based on the details required in the invoice format. Once a template that meets the needs is selected, the user may proceed towards invoice creation. The invoice number should be entered into a separate cell.

invoice number

Step 2: Locate the cell with the invoice number

To create the macro, the locational information of the cell containing the invoice number is required. The information can be accessed by selecting the relevant cell, as shown in the image below.

invoice number

Step 3: Open Microsoft Visual Basic for Application

The next step would be to open the Microsoft VBA tool via the “Alt + F11” shortcut. Once this is done, the VBA Tool window will open.

Step 4: Select the entire Workbook

Under the Microsoft Excel Objects option displayed on the left half of your screen, proceed to click on “This Workbook”.

invoice number

Step 5: Revise, copy and paste the code

A new window opens up on the right once “This Workbook” is selected. This is the window wherein the code has to be fed in. As displayed in the screenshot under step 2, “B2” is the location of the cell containing the invoice number. Having made a note of that, the following code needs to be pasted in the blank window. 

Private Sub Workbook_Open()

Range(“B2”).Value = Range(“B2”).Value + 1

End Sub

invoice number

Step 6: Adjust the macro settings

Ensure that you have the “Developer” tab in your toolbar. It is normally displayed between the “View” and “Help” tabs. If it isn’t shown, click on the “File” tab, select “Options”, and then select “Customize Ribbon”. On the right side, the third box from the bottom, “Developer” should be ticked as shown in the image below.

invoice number

Once this is done, go to the toolbar, click on the Developer tab, and select “Macro Security”. Select the boxes containing “Enable VBA macros” and the “Trust access to the VBA project object model”, as shown in the image below.

invoice number

Step 7: Save the file as macro-enabled

When performing the same function, assign an appropriate file name and then proceed to save the file as “Excel Macro-Enabled Template”.

invoice number

Step 8: Restart the system

Once the file is saved, exit the application and hit the restart button so the system can perform a restart. Once the system restarts, open the excel invoice file. Excel should have automatically updated the invoice number to the following invoice number in the sequence.

Step 9: Create a new invoice

Once the invoice has been filled and completed in all respects, the file will have to be saved under a new name, for instance, “Invoice-1001”. Always remember to save the file as an Excel Macro-Enabled Template.

These steps are to be compulsorily followed each time a new invoice is created.

Presently, many customised tools assist in invoice creation. One such tool is the ClearOne Invoice software, cloud-based software that is entirely secure, comprising all the necessary features with respect to invoice creation, billing and much more. All you have to do is log on to http://one.clear.in, sign up with your phone number, and you may proceed to use the tool.

About the Author

I preach the words, “Learning never exhausts the mind.” An aspiring CA and a passionate content writer having 4+ years of hands-on experience in deciphering jargon in Indian GST, Income Tax, off late also into the much larger Indian finance ecosystem, I love curating content in various forms to the interest of tax professionals, and enterprises, both big and small. While not writing, you can catch me singing Shāstriya Sangeetha and tuning my violin ;). Read more

summary-logo

Quick Summary

Excel is a powerful tool for creating and automating invoices. By utilizing macros, users can save time and improve efficiency. Instructions include creating a template, inputting invoice number, coding a macro, saving as a macro-enabled file, and restarting the system. Additional tools like ClearOne Invoice software can streamline this process further.

Was this summary helpful?
liked-feedbackliked-feedback

Clear offers taxation & financial solutions to individuals, businesses, organizations & chartered accountants in India. Clear serves 1.5+ Million happy customers, 20000+ CAs & tax experts & 10000+ businesses across India.

Efiling Income Tax Returns(ITR) is made easy with Clear platform. Just upload your form 16, claim your deductions and get your acknowledgment number online. You can efile income tax return on your income from salary, house property, capital gains, business & profession and income from other sources. Further you can also file TDS returns, generate Form-16, use our Tax Calculator software, claim HRA, check refund status and generate rent receipts for Income Tax Filing.

CAs, experts and businesses can get GST ready with Clear GST software & certification course. Our GST Software helps CAs, tax experts & business to manage returns & invoices in an easy manner. Our Goods & Services Tax course includes tutorial videos, guides and expert assistance to help you in mastering Goods and Services Tax. Clear can also help you in getting your business registered for Goods & Services Tax Law.

Save taxes with Clear by investing in tax saving mutual funds (ELSS) online. Our experts suggest the best funds and you can get high returns by investing directly or through SIP. Download Black by ClearTax App to file returns from your mobile phone.

Cleartax is a product by Defmacro Software Pvt. Ltd.

Company PolicyTerms of use

ISO

ISO 27001

Data Center

SSL

SSL Certified Site

128-bit encryption