+ Reply to Thread
Results 1 to 4 of 4

Frankenstein's script

  1. #1
    Forum Contributor
    Join Date
    02-16-2006
    MS-Off Ver
    OFFICE 365
    Posts
    244

    Frankenstein's script

    Ok, I have a script that I pieced together and much like Frankenstein's Monster it is not behaving the way I want it to. The main issue I have is data is not always transfered to some of my sheets. Specifically, even when an "x" is in a row in columns L, M, N, or P the information I want copied to a sheet is not. Any help or guidance would be appreciated.


    Thanks,

    Met

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Frankenstein's script

    Met,
    Monster is understatement.
    Please note I have not tested the code and some of the if statement are duplicates or wrong.
    This is merely to show you it can be done with ifs statements.
    If I were, I would have split the code in to 2-3 codes.

    Please Login or Register  to view this content.
    Last edited by AB33; 09-29-2014 at 04:19 PM.

  3. #3
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,979

    Re: Frankenstein's script

    Are you sure the cells contain "x" and not "X"? Your tests are case sensitive.
    Everyone who confuses correlation and causation ends up dead.

  4. #4
    Forum Contributor
    Join Date
    02-16-2006
    MS-Off Ver
    OFFICE 365
    Posts
    244

    Re: Frankenstein's script

    Thanks ofr everyones help and guidance.

    AB33: I followed your suggestions and it did help cleanup the script somewhat.

    romperstomper: The "case" was not the issue but your suggestion made me look back at the data to be copied and I discovered that the script was copying the data but the data was blank. (Doh!)

    Thanks again,

    Met

+ 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. script to run the macro from Vb script with out opening the excel file
    By chandanp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-27-2021, 03:33 AM
  2. calling the vb script from the shell script(unix platform)
    By chandanp in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2014, 06:21 AM
  3. Integrating Mainframe emulator script with excel's vba script
    By Himanshu Mishra in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-07-2012, 10:30 AM
  4. Create VBA script to short, dedicated button in excel for script?
    By realized in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-01-2009, 11:54 PM
  5. Script that edits the text printed on the button that runs the script
    By petalred in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2008, 02:41 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