energywatch
New Member
- Joined
- Feb 4, 2014
- Messages
- 6
Hello,
Any help to speed up my work with a very outdated website is very appreciated!
I currently am manually typing thousands of data inputs out to 6 decimals into an EXTREMELY outdated system that I have no control over.
Each project requires 10 inputs into the form. You can not tab, scroll, etc between the fields and you can not paste anything, everything must be typed with keystrokes. (crazy I know, I'm going nuts!)
I would like to build VBA that uses data in my excel sheet and then inputs it using keystrokes into the form. I dont know how to build the vba. Would this be done with SendKeys? I have never used that before. My thoughts are the macro could go two ways:
Faster, more complex code?
1. Copy each of the projects 10 inputs from excel as separate values (myinput1, myinput2, etc) then when I manually navigate to the site and click in 'box1' with my curser be able to have the macro "type" myinput1 for me (I could use some sort of quick key to reference input1, 2, etc.). Then I manually click on 'box2' and it types myinput2 for me. And the process continues until I reach the 10th box. I will then manually save.
It's still horribly manual, but the software is likely from 1973, or earlier, and does not seam to have a way around it for us data input minions.
Slower but simpler code?
2. Have a simple code that copies one cell value at a time, I manually place my cursor into the box on the software site, then Ctl+K does a keystroke of the value I just copied.
Example of my excel data is below
[TABLE="width: 750"]
<tbody>[TR]
[TD][/TD]
[TD]Input 1[/TD]
[TD]Input 2[/TD]
[TD]Input 3[/TD]
[TD]Input 4[/TD]
[TD]Input 5[/TD]
[TD]Input 6[/TD]
[TD]Input 7[/TD]
[TD]Input 8[/TD]
[TD]Input 9[/TD]
[TD]Input 10[/TD]
[/TR]
[TR]
[TD]Project 1[/TD]
[TD="align: right"]1.233643[/TD]
[TD="align: right"]1.236443[/TD]
[TD="align: right"]1.233650[/TD]
[TD="align: right"]1.333643[/TD]
[TD="align: right"]1.233644[/TD]
[TD="align: right"]12.233643[/TD]
[TD="align: right"]740.233643[/TD]
[TD="align: right"]65.233643[/TD]
[TD="align: right"]647.299643[/TD]
[TD="align: right"]1.239843[/TD]
[/TR]
[TR]
[TD]Project 2[/TD]
[TD="align: right"]1.236543[/TD]
[TD="align: right"]3.236443[/TD]
[TD="align: right"]1.783650[/TD]
[TD="align: right"]561.333643[/TD]
[TD="align: right"]87.233644[/TD]
[TD="align: right"]0.000000[/TD]
[TD="align: right"]790.233003[/TD]
[TD="align: right"]796.236670[/TD]
[TD="align: right"]89.657891[/TD]
[TD="align: right"]0.000000[/TD]
[/TR]
</tbody>[/TABLE]
Any help is much appreciated, this process takes HOURS each month. Its crazy how bad the software is, but I have no control over that part. I have to work within the system I have and try and make it faster.
*** I also have a second system which does allow pasting, but has the same navigation issues. If someone has a quick logic for saving 10 pieces of data at once, then pasting them. It would be copy, click, paste1, click paste2, click paste 3, .....
Look forward to feedback.
Any help to speed up my work with a very outdated website is very appreciated!
I currently am manually typing thousands of data inputs out to 6 decimals into an EXTREMELY outdated system that I have no control over.
Each project requires 10 inputs into the form. You can not tab, scroll, etc between the fields and you can not paste anything, everything must be typed with keystrokes. (crazy I know, I'm going nuts!)
I would like to build VBA that uses data in my excel sheet and then inputs it using keystrokes into the form. I dont know how to build the vba. Would this be done with SendKeys? I have never used that before. My thoughts are the macro could go two ways:
Faster, more complex code?
1. Copy each of the projects 10 inputs from excel as separate values (myinput1, myinput2, etc) then when I manually navigate to the site and click in 'box1' with my curser be able to have the macro "type" myinput1 for me (I could use some sort of quick key to reference input1, 2, etc.). Then I manually click on 'box2' and it types myinput2 for me. And the process continues until I reach the 10th box. I will then manually save.
It's still horribly manual, but the software is likely from 1973, or earlier, and does not seam to have a way around it for us data input minions.
Slower but simpler code?
2. Have a simple code that copies one cell value at a time, I manually place my cursor into the box on the software site, then Ctl+K does a keystroke of the value I just copied.
Example of my excel data is below
[TABLE="width: 750"]
<tbody>[TR]
[TD][/TD]
[TD]Input 1[/TD]
[TD]Input 2[/TD]
[TD]Input 3[/TD]
[TD]Input 4[/TD]
[TD]Input 5[/TD]
[TD]Input 6[/TD]
[TD]Input 7[/TD]
[TD]Input 8[/TD]
[TD]Input 9[/TD]
[TD]Input 10[/TD]
[/TR]
[TR]
[TD]Project 1[/TD]
[TD="align: right"]1.233643[/TD]
[TD="align: right"]1.236443[/TD]
[TD="align: right"]1.233650[/TD]
[TD="align: right"]1.333643[/TD]
[TD="align: right"]1.233644[/TD]
[TD="align: right"]12.233643[/TD]
[TD="align: right"]740.233643[/TD]
[TD="align: right"]65.233643[/TD]
[TD="align: right"]647.299643[/TD]
[TD="align: right"]1.239843[/TD]
[/TR]
[TR]
[TD]Project 2[/TD]
[TD="align: right"]1.236543[/TD]
[TD="align: right"]3.236443[/TD]
[TD="align: right"]1.783650[/TD]
[TD="align: right"]561.333643[/TD]
[TD="align: right"]87.233644[/TD]
[TD="align: right"]0.000000[/TD]
[TD="align: right"]790.233003[/TD]
[TD="align: right"]796.236670[/TD]
[TD="align: right"]89.657891[/TD]
[TD="align: right"]0.000000[/TD]
[/TR]
</tbody>[/TABLE]
Any help is much appreciated, this process takes HOURS each month. Its crazy how bad the software is, but I have no control over that part. I have to work within the system I have and try and make it faster.
*** I also have a second system which does allow pasting, but has the same navigation issues. If someone has a quick logic for saving 10 pieces of data at once, then pasting them. It would be copy, click, paste1, click paste2, click paste 3, .....
Look forward to feedback.
Last edited: