+ Reply to Thread
Results 1 to 5 of 5

Additional Field Added after Macro is Run

  1. #1
    Registered User
    Join Date
    12-18-2014
    Location
    Lanham, MD
    MS-Off Ver
    MS Office 2013
    Posts
    3

    Additional Field Added after Macro is Run

    Good Morning All,

    I have created a macro where a workbook will be created based on the a person's name in the 'PT NAME' Column. When I run the macro, it performs the functions perfectly, but I notice that Column 'AF' will appear with weird data that was never on master tab of the original file. Is there a way for that data not to appear on that column? I've attached the files below for your review and reference of what I am referring to. Thanks for your help and guidance.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-07-2013
    Location
    Brussels
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Additional Field Added after Macro is Run

    I run your code using the debug tool, and it worked problem free. Didn't see any value in col AF.

  3. #3
    Registered User
    Join Date
    12-18-2014
    Location
    Lanham, MD
    MS-Off Ver
    MS Office 2013
    Posts
    3

    Re: Additional Field Added after Macro is Run

    Thanks 'Zekraoui', but it still appears on the file [i.e. Player 1's workbook]. Is there a code that I can maybe change? Once again, I appreciate the the help.

  4. #4
    Registered User
    Join Date
    09-07-2013
    Location
    Brussels
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Additional Field Added after Macro is Run

    You can try this (a patch rather than a solution!), at the end of your code
    range(af:af).select
    selection.clearcontents
    range("a1").select

  5. #5
    Registered User
    Join Date
    12-18-2014
    Location
    Lanham, MD
    MS-Off Ver
    MS Office 2013
    Posts
    3

    Re: Additional Field Added after Macro is Run

    Thanks, 'Zekraoui'! You're a genius! It worked! Now everything works smoothly! Thanks again!

+ 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. Replies: 2
    Last Post: 12-08-2014, 03:16 PM
  2. [SOLVED] How to apply macro to a range, even if additional rows are added
    By Lowa in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-11-2014, 01:00 AM
  3. Macro to run on the additional field
    By Deepa12 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-19-2013, 09:06 PM
  4. [SOLVED] Additional criterion date function to be added to existing formula
    By Christopherdj in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-24-2012, 02:07 AM
  5. [SOLVED] Apply fomulas to additional worksheets as added
    By Brent E in forum Excel General
    Replies: 2
    Last Post: 05-25-2006, 04:40 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