Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 02-11-2017, 10:25 PM
gmayor's Avatar
gmayor gmayor is offline VBA code to mimic F4 (Repeat) command? Windows 10 VBA code to mimic F4 (Repeat) command? Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

F4 repeats the last command, not the last set of commands. Why not simply run the macro again? Assign it to a keyboard shortcut. If you need to run a process more than once use a loop in your code to run it as many times as required.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find Bookmark, move to bookmark, execute code, repeat raymm3852 Word VBA 10 04-15-2016 06:21 PM
How to setup (or mimic): Two colums with only text being input in leftside column humbug123 Word 1 11-04-2014 12:15 PM
VBA code to mimic F4 (Repeat) command? Check box and command box code Loki Word VBA 2 08-14-2013 07:11 AM
Repeat formula 5 times and repeat? Jenny345 Excel 4 06-14-2013 04:37 PM
VBA code to mimic F4 (Repeat) command? Make Cells Mimic The Formatting Of One Cell skoz55 Excel 1 11-09-2011 09:00 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:17 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft