Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7726913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:19:46+00:00 2026-06-01T05:19:46+00:00

When a user inputs a value in a certain column then this value should

  • 0

When a user inputs a value in a certain column then this value should automatically be picked up and added as a suffix.

For example, user inputs “3”, convert this to “Incident ” & Cell.Value.

I am having problems with the OnChange Sub routine and I’m thinking I’m taking the wrong path to automatically get this converted when the user changes cell selection.

Any Tips anyone may give me perhaps please?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T05:19:48+00:00Added an answer on June 1, 2026 at 5:19 am

    Put this code in the Change event of your sheet:

    Private Sub Worksheet_Change(ByVal Target As Range)
        If (IsNumeric(Target.Value)) Then
            Application.EnableEvents = False
            Target.Value = "Incident " & Target.Value
            Application.EnableEvents = True
        End If
    End Sub
    

    IsNumeric assures you won’t end up with “Incident Incident 9” when a cell is focused.
    Application.EnableEvents = False will prevent from recursively call the Change event.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing a program where the user inputs names and then ages. The program
How do I make this so once the user inputs a number and presses
I have a datatable. I need to fetch a certain column value based on
There are times when I want to convert user input into its literal value
I have a string value from a user input box. I have to figure
I am trying to conditionally calculate some values based on user inputs in a
how do I prevent the user to change the value in an input field
When validating user inputs in an application that is to be run across multiple
I have a textbox where a user inputs a number, like: 105.14 When I
I'm using XPATH to select certain nodes from an XML document. The user is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.