yurdalsldrk Posted December 7, 2018 Report Share Posted December 7, 2018 Hi I want to stop the empty row in the macro express de excel thanks Quote Link to comment Share on other sites More sharing options...
terrypin Posted December 9, 2018 Report Share Posted December 9, 2018 You should either provide more detail (with a screenshot or script text), or you should do as I suggested in my reply to you a week ago in your post ‘Copy error’. Quote Link to comment Share on other sites More sharing options...
amonaghan Posted December 10, 2018 Report Share Posted December 10, 2018 This should work, although it is a bit slow. If anyone knows of a quicker way, please let me know? Shamelessly stolen from here :- https://www.macros.com/faq/1.79.html Repeat Until %cClipboardString% Equals "" Text Type (Simulate Keystrokes): <ARROW DOWN> Clipboard Copy Variable Set String %cClipboardString% from the clipboard contents Variable Modify String %cClipboardString%: Trim End Repeat <VARIABLE SET STRING Option="\x00" Destination="%cClipboardString%" NoEmbeddedVars="FALSE" _ENABLED="FALSE"/> <REPEAT UNTIL Variable="%cClipboardString%" Condition="\x00"/> <TEXT TYPE Action="0" Text="<ARROW DOWN>"/> <CLIPBOARD COPY/> <VARIABLE SET STRING Option="\x02" Destination="%cClipboardString%" NoEmbeddedVars="FALSE"/> <VARIABLE MODIFY STRING Option="\x00" Destination="%cClipboardString%"/> <END REPEAT/> Alan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.