+ Reply to Thread
Results 1 to 2 of 2

Modifying a Macro to trigger automatically & function across the column

  1. #1
    Registered User
    Join Date
    03-27-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    18

    Modifying a Macro to trigger automatically & function across the column

    Hello Excel experts,

    Need your help with modifying an excel macro. Also note that i do not have any knowledge about macros.

    Kindly refer to the attached excel sheet, which has the excel macro. It also displays the Input and output on running the macro.
    I require the following help from your end:

    1. The macro should function for all input present throughout the column. And should also ignore blanks.
    2. Secondly, it should get automatically triggered. Suppose if the valve in the cell KM2 says TRUE this macro should start functioning for the sets/pieces of texts in Column KP (starting from KP7 and uptil the end of the column) and give me the result in the column KS.


    Furthermore, if i wish to modify it in terms of what column it should take the input and where to display etc. What changes should i make?

    Please write back to me, in case anyone requires additional information from my end.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Modifying a Macro to trigger automatically & function across the column

    Hi PritishD,

    I hope I implemented your requirements correctly. There are constants (items in red below) that can be modified to allow you to put your data anywhere you want.

    In the Sheet1 Module:
    Please Login or Register  to view this content.
    In Module1 (to replace your existing code):
    Please Login or Register  to view this content.
    To access a Sheet Module in VBA:
    a. 'Left Click' on any cell in the Excel Spreadsheet.
    b. ALT-F11 to get to VBA.
    c. CTRL-R to get project explorer (if it isn't already showing).
    d. 'Double Click' on the module you want to access in the 'Project Explorer'.
    e. Insert code into the module if needed. 'Option Explicit' should only appear ONCE at the top of the module.

    Lewis
    Attached Files Attached Files

+ 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] How can we trigger a simple macro based on cell value of another cell automatically with
    By omega0010 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-16-2013, 05:02 PM
  2. Automatically Trigger Event when Cell Changes
    By Thinkslow in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-01-2013, 03:34 AM
  3. modifying form/data macro to automatically fill in a field
    By wbcsc in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-05-2010, 07:46 PM
  4. Replies: 18
    Last Post: 07-23-2010, 09:24 AM
  5. Modifying a downloaded cell automatically
    By spike999 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-19-2007, 07:25 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