+ Reply to Thread
Results 1 to 3 of 3

Help with VBA/Reflection loop

  1. #1
    Registered User
    Join Date
    08-15-2013
    Location
    Farmington Hills, MI
    MS-Off Ver
    Excel 2010
    Posts
    6

    Help with VBA/Reflection loop

    Good Morning All,

    I could use some help in creating a Macro that will enter data from my spreadsheet into an IBM Reflection program that I use. I first recorded the Macro in Reflection and then pasted parts into VBA. I can get it to run successfully one time, but I have not found a way to have it loop accurately through new rows of data on the spreadsheet. I want it to loop until it reaches an empty cell in column A.

    I have attached the code I've written so far, and put some notes showing what information I want to loop. In addition, I need to include an If/Else statement. If certain text is found it should hit the F12 key to back out and if other text is found it should complete the desired loop process. Hopefully this is enough information. Any help you can offer will be greatly appreciated!

    James
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    08-15-2013
    Location
    Farmington Hills, MI
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Help with VBA/Reflection loop

    This is what I had in mind for the loop, but it's not working as it should. If it loops through five rows of data, it will get the middle 2-3 correct (sometimes). See second attachment (myattempt.txt)
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-15-2013
    Location
    Farmington Hills, MI
    MS-Off Ver
    Excel 2010
    Posts
    6
    Nothing on this one?

+ 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] Copy dynamically changing column and Paste using VBA Loop (Loop within Loop)
    By nixon72 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-12-2013, 12:46 PM
  2. Calculate Slope of reflection off sloped surface
    By wowzers in forum Excel General
    Replies: 28
    Last Post: 12-08-2012, 01:44 PM
  3. Why did an inner loop variable start overwriting the outer loop range suddenly?
    By 111StepsAhead in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-16-2012, 03:24 PM
  4. Excel to active wrq reflection for regis graphics session
    By gary-kc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-24-2012, 09:26 AM
  5. UNIX REFLECTION
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-07-2005, 09: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