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

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
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,223,908
Messages
6,175,304
Members
452,633
Latest member
DougMo

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