urgent help

JUANANDERSON

New Member
Joined
Aug 21, 2018
Messages
2
I need you to help me complete a macro, I want to pass a data from the macro to the linked page and then bring the information back to the macro.
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Private Sub CommandButton1_Click()
Dim url As String ' Se define la variable url como texto

url = "http://190.223.57.18:8083" ' se asigna la página a abrir

ActiveWorkbook.FollowHyperlink url

Application.WindowState = xlMaximized
bClick = True

Application.Wait Now + TimeValue("00:00:02") ' Aquí se personaliza el tiempo de espera, con 1 no funciona.

SendKeys "{TAB}", True ' Presiona la tecla "TAB" para desplazarse a la siguiente casilla

SendKeys "jzaldivara", True ' Aquí pones tu nombre de usuario
Application.Wait 1000
SendKeys "{TAB}", True ' Presiona la tecla "TAB" para desplazarse a la siguiente casilla

SendKeys "est123", True ' Aquí pones la clave de acceso a la cuenta

Application.Wait 1000

SendKeys "~", True ' Activa y presiona la tecla INTRO o Enter

SendKeys "{NUMLOCK}", True
End Sub
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,205
Members
448,554
Latest member
Gleisner2

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
Back
Top