excel - Sendkeys will not run in middle of macro -


I am trying to use VBA to draw data from Hyperion (I'm new to VBA) I have to select the cell range on sheet 1, "press" Alt, X, S, R, allow it to draw data, then go to the next sheet and repeat. The problem I am facing is that the macro runs through the tab and highlights the cells as needed, although the sender (all five instances) will run at the end of the full macro instead of each step. Any help would be appreciated. The macro is exactly the same as 1-5 different sheet names.

I currently have the code:

  sub-runael macros () macro 1 macro 2 macro 3 macro 4 macro 5 and all all macro 1 () select range ( "C5: H15"). Select range ("H15") to activate selection. Clear Content Range ("A1: H15"). True SendKeys ("s"), True SendKeys ("r"), True application.Wait (now + # 12: Select "R"), True SendKeys ("x" 00: 01 AM #) End Sub   

Try this amendment.

  Dim Dietil Double Sands ("% (Xsr)"), True dTill = Now + Timezone (0,0,2) What to do DTILI & gt; Now: DoEvents: Loop   

This message should allow the pump to be carried out.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

python - 'NoneType' object is not callable using 'find_all' in BeautifulSoup -