+ Reply to Thread
Results 1 to 6 of 6

Macro for cell entry text

  1. #1
    Forum Contributor
    Join Date
    11-16-2014
    Location
    United States
    MS-Off Ver
    2010
    Posts
    204

    Macro for cell entry text

    Hi Champs,

    I have a report with

    Date -------------- column A
    Description----------- column B
    Amount-----------------column C


    Description has two categories "trabsfer from" and "transfer to" for a partcular date.

    So for each day there may be n number of "trabsfer from" and "transfer to".


    I need a macro to output mentioned in output sheet like

    if input description has 4 entry in "transfer from", then 4 entry of "transfer to" should be added

    and same for input description "transfer to". pls refer the output for clear understanding.


    Amouunt in input has to be split up as Dr and Cr based on entry. Thanks for the help in advance.
    Attached Files Attached Files

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: Macro for cell entry text

    set the column number when you loop through the rows.

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    11-16-2014
    Location
    United States
    MS-Off Ver
    2010
    Posts
    204

    Re: Macro for cell entry text

    Hi davesexcel ... thanks for the coode.

    But what i need is for "transfer from" entry in input sheet, corresponding entry has to be added in ooutput. (eg, see input sheet has

    4 entry for "transfer from" and 6 entry for "transfer to"

    so the output has to be 4 entry for "transfer from" and "transfer to"

    and 6 entry for "transfer to" and "transfer from"

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: Macro for cell entry text

    This should do it.

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    11-16-2014
    Location
    United States
    MS-Off Ver
    2010
    Posts
    204

    Re: Macro for cell entry text

    this macro does not do any thing. can u pls help
    Last edited by excelhelpseeker; 11-04-2016 at 05:44 AM.

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: Macro for cell entry text

    Quote Originally Posted by excelhelpseeker View Post
    this macro does not do any thing. can u pls help
    I know, because I would give you a macro that doesn't do anything.

+ 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. [SOLVED] Macro to add a comment to a cell via a text entry box from a user form
    By Stevecraig211 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-04-2016, 09:47 AM
  2. [SOLVED] formula showing as text after macro entry
    By jprlimey in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-10-2014, 12:40 PM
  3. [SOLVED] macro assistance to automate text entry in selected row if another range has text
    By lilsnoop in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-12-2013, 01:01 PM
  4. [SOLVED] How to add text at the end of a cell entry
    By Mel56 in forum Excel General
    Replies: 2
    Last Post: 01-09-2013, 08:21 AM
  5. Replies: 7
    Last Post: 07-09-2012, 11:48 AM
  6. A macro to validate a text entry or a specific number of digits in a cell
    By Johnny Quest in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-28-2012, 03:28 PM
  7. Macro to copy text upon entry into cell
    By RAP in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-12-2005, 04:05 AM

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