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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
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,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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