Alternative to using SendKeys???

Hoozits

Active Member
Joined
May 31, 2005
Messages
253
As much as I have come to appreciate SendKeys, is there an alternative to using them? It just seems to take much more time than I'd like to navigate through a web page using vba code such as

SendKeys "{TAB}"
Application.Wait (Now + TimeValue("0:00:01"))


over and over again.

I'm anticipating a way to do something with javascript in order to go straight for the web selection you are aiming at so as to not have to tab through your selections.

Any help would be greatly appreciated.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,358
Office Version
  1. 365
Platform
  1. Windows
You appreciate SendKeys?:eek:

I think you must be the first person I've encountered that does.

That method, though sometimes needed, is notoriously flaky.

If what you are trying to do is use VBA to navigate/manipulate webpages I suggest you post some more information.
 
Upvote 0

Forum statistics

Threads
1,190,817
Messages
5,983,060
Members
439,818
Latest member
schizoid231

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top