![]() |
#1
|
|||
|
|||
![]()
I am trying to perform control+”[“ (shortcut for going to immediate precedent) by “SendKeys "^[", True”. But this line of code do nothing after running. (no run time error). Can you guide me on this issue?
|
#2
|
||||
|
||||
![]()
You shouldn't need SendKeys. Do either of these lines do what you wanted?
Code:
Selection.ShowPrecedents 'or Selection.DirectPrecedents
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
![]() |
Tags |
sendkeys |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Method A or Method B | gmaxey | Word VBA | 4 | 03-31-2024 01:50 PM |
![]() |
zanodor | Word VBA | 5 | 07-15-2022 01:25 AM |
VBA Excel method Not working | grandneos | Excel | 2 | 01-07-2022 11:19 AM |
![]() |
Steve Bartko | Excel | 6 | 10-26-2016 11:38 AM |
![]() |
Cosmo | Word VBA | 4 | 10-18-2013 05:57 AM |