+ Reply to Thread
Results 1 to 22 of 22

write package name & show code

  1. #1
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    write package name & show code

    dear all

    in attached list there is some codes and packages are in columns E & F, i want when i write in column J(in whole column), just zahi250 or siscon or wp1000 it should show code instead of package name...???

    Gondal
    Attached Files Attached Files
    Last edited by gondal; 02-07-2017 at 07:59 AM.

  2. #2
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: write package name & show code

    See this thread

    http://www.excelforum.com/showthread...t=#post4576047
    Teach me Excel VBA

  3. #3
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: write package name & show code

    this post was regarding to my colleague, i do not want this solution due to some reason(because data will more than 2000 and to scroll & find package for it not possible), he ask the question in last post you said that repost it with new thread..

    Gondal
    Last edited by gondal; 02-07-2017 at 08:07 AM.

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: write package name & show code

    1) Select data in Col. E & F
    2) go to [Create Names From Selection] in Formulas Ribon
    3) Select [Right Column]

    Enter any cell starting with "=" like =ZAHI500H
    it will replace the formula to the corresponding value in col.E

  5. #5
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: write package name & show code

    dear Jindon
    in this case every time write (=) and write exact spell than it will work(because we have share sheet with different people, we cannot teach them), i want just write zahi250 or wp500 in any case(upper or lower) code shows

    Gondal

  6. #6
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: write package name & show code

    [QUOTE=gondal;4577289]dear all

    in attached list there is some codes and packages are in columns E & F, i want when i write in column J(in whole column), just zahi250 or siscon or wp1000 it should show code instead of package name...???

    I could not find any difference between your question and the question that is asked in the post I shared link of.

    Would you please show some results in your workbook that are manually putt. Because the question you are asking in this thread is similar to that one of old thread of adeel.

    Best Regards
    Imran Bhatti

  7. #7
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: write package name & show code

    Quote Originally Posted by gondal View Post
    dear all

    in attached list there is some codes and packages are in columns E & F, i want when i write in column J(in whole column), just zahi250 or siscon or wp1000 it should show code instead of package name...???
    I could not find any difference between your question and the question that is asked in the post I shared link of.

    Would you please show some results in your workbook that are manually putt. Because the question you are asking in this thread is similar to that one of old thread of adeel.

    Best Regards
    Imran Bhatti

  8. #8
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: write package name & show code

    dear imran sb

    i made some example in column J with comment note, in Mr adeel query there is drop-down list from where selecting the data, he can go with it because he has very small data,

    in my case i want to write in cell package name and actual package name is zahi250h but just write to zahi250 only its shows code instead of package name..?pl

    Gondal
    Attached Files Attached Files

  9. #9
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: write package name & show code

    Hi Gondal

    A little bit different technique is adopted here.I assume that you are continuously filling column J and you don't edit any data in between this column.The searching is made easier in the ComboBox.

    See if this helps you

    Best Regards
    Imran Bhatti
    Last edited by ImranBhatti; 02-07-2017 at 03:36 PM.

  10. #10
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: write package name & show code

    Salam Dear imran sb
    may you got my point,this is good idea which you produce,exactly as i want like this but little different,can it is impossible that instead of combo box in column J in each cell just i write package name and show the code..??

    Gondal

  11. #11
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: write package name & show code

    Typing manually may result in wrong entry. How would you ensure the accuracy of manual typing?

  12. #12
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: write package name & show code

    Dear imran sb,
    i belong to telecom industry, so our each employee knows the packages name there is only 1% Chance of typing error and if he type the wrong package name in cell definitely code will not show in respective cell & this is sign of error and i forgot to share, in fact in column K,it will be mobile numbers column, each number has some package in column J, this is why i want like this, if you can help...!!plz

    if error still contain in cell which means that column E & F need to modify or amend or review..(most likely package need to add in column E & F to get the result)


    Regards
    Gondal
    Last edited by gondal; 02-07-2017 at 01:29 PM.

  13. #13
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: write package name & show code

    VBA is an event driven programming language. Some thing occurs when something is happened.
    What if there is a button.After every entry just clicking that button and the entry will be converted to code? will this be ok?

  14. #14
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: write package name & show code

    Dear Imran sb
    in real case, i have also 700 to 1000 numbers (with almost 300 packages)in column K, to write package name in front of number is i feel easier than combo box entry because watch the number than go to combo box is little difficult or forgettable....???my point is only is this


    Regards
    Gondal
    Last edited by gondal; 02-07-2017 at 01:44 PM.

  15. #15
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: write package name & show code

    Just saw Jindon's solution which you refused to and excuse was bellow
    Quote Originally Posted by gondal View Post
    dear Jindon
    in this case every time write (=) and write exact spell than it will work(because we have share sheet with different people, we cannot teach them)
    In my solution you stated.

    Quote Originally Posted by gondal View Post
    Dear imran sb,
    i belong to telecom industry, so our each employee knows the packages name there is only 1% Chance of typing error and if he type the wrong package name in cell definitely code will not show in respective cell & this is sign of error
    Kia ye khula tazad nein? (is it not contradiction?)

    Best Regards
    Imran Bhatti

  16. #16
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: write package name & show code

    sir this is not contradiction people can be employee & these package for user (people) and we have to share with them and these sometime will selected from user with in corporate sector (companies)or some time as individuals..???
    in my early statement i did not mention from where i belongs (industry) and what is the purpose of mine for this post, so i used word people...!!!

    Gondal

  17. #17
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: write package name & show code

    This is the reason which you forgot to share.
    Quote Originally Posted by gondal View Post
    i forgot to share, in fact in column K,it will be mobile numbers column, each number has some package in column J,
    Then why not type the mobile number and search for the package code?

  18. #18
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: write package name & show code

    Testing testing testing
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  19. #19
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: write package name & show code

    sir these packages and codes are in system, and we have codes for system server and package name for user for their convenient and better understanding when user says i need this package against my number we will type package name in front of his number the code will show automatically and we upload that file on server, that why i need this solution, this is mostly for corporate customer which change their package in bulk

    Gondal

  20. #20
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: write package name & show code

    Quote Originally Posted by gondal View Post
    sir these packages and codes are in system, and we have codes for system server and package name for user for their convenient and better understanding when user says i need this package against my number we will type package name in front of his number the code will show automatically and we upload that file on server, that why i need this solution, this is mostly for corporate customer which change their package in bulk

    Gondal
    Seems your posting problem has resolved itself?

  21. #21
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: write package name & show code

    dear FDibbins
    yes now its working, thanks there was () brackets may due to that it was not working

    Gondal

  22. #22
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: write package name & show code

    Thanks for letting me know

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Code to write one value and show other cell
    By Vinagre in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-29-2013, 11:01 PM
  2. Write a VBA Code to show list based on the day you have chosen
    By rakumar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-14-2013, 05:24 AM
  3. [SOLVED] Don't show result if less than 1 - how to write formula
    By acpisano in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-10-2013, 03:46 PM
  4. [SOLVED] Lookup two item code and package size, return price for match
    By tommypkoch in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-05-2013, 04:02 PM
  5. Write the password in a protected AddIns to show the code
    By pierre08 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-29-2010, 06:43 AM
  6. how do i write formula to show a profit margin
    By peterfc in forum Excel General
    Replies: 10
    Last Post: 12-01-2008, 01:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1