Auto Click Automation

mbcebrian

New Member
Joined
Jul 18, 2011
Messages
7
Hi guys!

I have hundred of raw data file (excel) which i have to create a report. However, i have to click first a specific field to get the data. I would like to ask how can i automate this. I saved my file in one folder.

I recorded the macro and i got this code.

Code:
Sub autoCLICK()
    Range("K10").Select
    Selection.ShowDetail = True
End Sub

also, after it had clicked i like to to auto-save and then close the file. My pc is slow so i cant open hundreds of file simultaneously.

anyone have an idea about this?
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
What you want to do, if I understand correctly, is to
- loop through a large number of files (all in one directory?), then
- select the value of a particular cell (the same cell in each file?),
- transport that value into your report sheet (one below the other?)
- lastly to save your report sheet.

Is this correct, and can you give some details on my questions?

With a macro this should be a fairly easy thing to do, even on a slow PC.
 
Upvote 0
What you want to do, if I understand correctly, is to
- loop through a large number of files (all in one directory?), then
Yes, exactly!
- select the value of a particular cell (the same cell in each file?),
it should double click to be exact. Yes same cell in each file. its cell "K10"

- transport that value into your report sheet (one below the other?)
- lastly to save your report sheet.

No need to transport. After it has double clicked, it should just save the file and then close it.

Thank you for the reply :)
 
Upvote 0

Forum statistics

Threads
1,224,552
Messages
6,179,486
Members
452,917
Latest member
MrsMSalt

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