+ Reply to Thread
Results 1 to 23 of 23

i need shortcut for filling multiple words in multiple cell

  1. #1
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    i need shortcut for filling multiple words in multiple cell

    "if i type "vv" in A1 CELL, THEN it should be change "invoice" in A1 cell, in b1 cell fill automatically "999" and c1 cell fill "cash back offer"

    how to set ?

    just type two or three character in one cell, and fill assigned words in 3 cells, its just like auto-correct options, but fill in multiple cell

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: i need shortcut for filling multiple words in multiple cell

    You could use the Worksheet_Change event and key it to Column A.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: i need shortcut for filling multiple words in multiple cell

    how to use Worksheet_Change ? could u give me sample file relate to my needs

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: i need shortcut for filling multiple words in multiple cell

    Here's one:

    Please Login or Register  to view this content.
    Directions for running the routine(s) just supplied

    Copy the code to the clipboard

    Press ALT + F11 to open the Visual Basic Editor.

    Save your Workbook As Macro-Enabled

    Click on the appropriate sheet

    Type "Option Explicit" then paste the code under it

    And, you should be ready to go

  5. #5
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: i need shortcut for filling multiple words in multiple cell

    boss i tried it, not working,, may be am wrong, see attached file,
    Attached Files Attached Files

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: i need shortcut for filling multiple words in multiple cell

    Hi Vengatvj,

    Here's your file with the code in the appropriate sheet module (Sheet1).

    I had forgotten to add an End if - so, if you tried it the right way and it didn't work, I apologize.
    last try.xlsm

  7. #7
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: i need shortcut for filling multiple words in multiple cell

    super buddy, but its working only in A Column, i want work in entire sheet, i need to fill wherever i want, how to modify just give me one more

  8. #8
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: i need shortcut for filling multiple words in multiple cell

    Just don't restrict it to the "A" column:

    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: i need shortcut for filling multiple words in multiple cell

    very thanks a lot my dear friend, here after i can work in all computers. before i use only one computer, im using auto-correct options, to do above the function.. now you guide me a new way, many thanks buddy..

  10. #10
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: i need shortcut for filling multiple words in multiple cell

    Hi Vengatvj,

    You might also want to consider using a "Hotkey" - you can record macros to be triggered by a key combination

  11. #11
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: i need shortcut for filling multiple words in multiple cell

    Oh.... if u have time let me know more info am new to macro

  12. #12
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: i need shortcut for filling multiple words in multiple cell

    You can record any key fr Control + Shift + v then you can add the code:



    If you've added your Developer Tab to the ribbon (you ought to do that) then
    Developer - Record New Macro - V_Macro

    Please Login or Register  to view this content.
    OK - or something like that.

    Here :last try.xlsm
    Last edited by xladept; 11-05-2013 at 03:13 AM.

  13. #13
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: i need shortcut for filling multiple words in multiple cell

    ya yah... i will make this type of shorcut for other use, am going to use make shortcut as i told , all my shortcut relate to my words, example if i type A1, then display vodafone value 199, if i type A2 then display vodafone value 299, if i type A5 then display Vodafone value 599,

    i have many words to type in my office excel, so its right way to make shortcut relate to my words..
    now i got two more words to fill in multiple cells, all credits to you. thank dear friend, i dont have any questions to ask more.. just seeing others threads..

  14. #14
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: i need shortcut for filling multiple words in multiple cell

    Please Login or Register  to view this content.
    hi, recently i met a debug error, when i select particular row column and make it delete. you just try yourself and tell me what to do,

  15. #15
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: i need shortcut for filling multiple words in multiple cell

    Hi Friends, The above Program is very Important to me. I need to make many shortcut for my daily use, The program is working as well, but The only problem is it gives debug error when i try to delete multiple row and column data. How to solve the problem?

  16. #16
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: i need shortcut for filling multiple words in multiple cell

    Hi Vengatvj,

    If you're going to delete, then you should turn off the events:

    Please Login or Register  to view this content.
    Then, of course, you'd need to reinstate the events:

    Please Login or Register  to view this content.
    Or you could make yourself a toggle switch:

    Please Login or Register  to view this content.

  17. #17
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: i need shortcut for filling multiple words in multiple cell

    i don't know how to add your switch code, can you give me again full program with toggle switch.. Please give me sample file with code. i tried it, unable to make myself..

    i am going to make shortcut more than 30 words, could you give me sample program for three shortcuts? should i change event every time? totally i am blind about vba. give me right way to modify shortcut and add more than, also allow me to delete some column row data.
    Last edited by vengatvj; 11-11-2013 at 01:30 PM.

  18. #18
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: i need shortcut for filling multiple words in multiple cell

    Hi Vengatvj,

    I put the toggle on a hotkey - to use it, just hit Ctrl+Shift+E - If you wanted a button for it you can just put up a button and give it this code in the click-event:

    Please Login or Register  to view this content.
    (Since you're using a ribbon-impacted version of Excel, automatically adding a button to the tooolbar doesn't leave it immediately accessible anymore.)last try TE.xlsm

  19. #19
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: i need shortcut for filling multiple words in multiple cell

    Wow.. Thank you so much buddy, its my daily use program, many many thanks .. you save my time

  20. #20
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: i need shortcut for filling multiple words in multiple cell

    You're welcome!

  21. #21
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: i need shortcut for filling multiple words in multiple cell

    Hi Vengatvj,

    I put a button at the top center - code is in the module. And, I wrote the code for its click event - code is in the sheet. You needn't run the code for the button placement again on this sheet last try TE.xlsm

  22. #22
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: i need shortcut for filling multiple words in multiple cell

    WOW WOW.. very thanks a lot.. just now i saw your reply. Sorry. Its good. Thank you so much

    One small request. I want set this Button always on top. I don't want move this button. if I down cell then this button hide. also hide when i go to right side.
    I want fix permanently this button in top. how to set?
    Last edited by vengatvj; 11-22-2013 at 06:51 PM.

  23. #23
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: i need shortcut for filling multiple words in multiple cell

    Hi Vengatvj,


    I haven't figured out how to make that button free floating - but, while I ponder it, you can freeze panes:

    Select A4 - Click on the View icon and choose freeze panes.

+ 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. Search a cell for multiple words and return multiple results in one cell
    By samanthat86 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-23-2013, 12:01 PM
  2. [SOLVED] Searching a cell for multiple words
    By squigman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-16-2013, 02:57 AM
  3. Searching for multiple words in a cell
    By CU2011 in forum Excel General
    Replies: 12
    Last Post: 05-05-2011, 11:48 AM
  4. split one cell into two with multiple words
    By faze in forum Excel General
    Replies: 12
    Last Post: 12-01-2010, 08:49 AM
  5. Replies: 2
    Last Post: 07-12-2010, 01:17 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