What type of Macro code is this? - Selecting latest report automatically

st471438

New Member
Joined
Jun 4, 2010
Messages
23
I want to select latest report automatically and I created macro but code is something that I am not aware about. Can anyone please help me figure out what would I use that would allow to select latest report file? this VERSIONID I believe is taking date and time that I ran this macro and I don't want to run every day and select file. I want it to either automatically run every day for me and get latest file OR I can run but daily but it should select latest file automatically. Can anyone help me please? and thank you in advance :)

OPENVIEW SERVERID 'VDRAAAR ' REPORTID 'AFTA0010 ' VERSIONID '20150903151947' EXACTREPORTID ALLEXACT
SCRNPOS 30 1
CARETPOS RELATIVE 30 1
SCRNPOS 4 1
GOTO RELATIVE PAGE 1
SCRNPOS 30 1
CARETPOS RELATIVE 30 1
SCRNPOS 4 1
GOTO RELATIVE PAGE 1
SCRNPOS 30 1
CARETPOS RELATIVE 30 1
SCRNPOS 4 1
GOTO RELATIVE PAGE 1
SCRNPOS 30 1
CARETPOS RELATIVE 30 1
SCRNPOS 4 1
GOTO RELATIVE PAGE 1
SCRNPOS 30 1
CARETPOS RELATIVE 30 1
SCRNPOS 4 1
GOTO RELATIVE PAGE 1
SCRNPOS 30 1
CARETPOS RELATIVE 30 1
SCRNPOS 4 1
GOTO RELATIVE PAGE 1
SCRNPOS 30 1
CARETPOS RELATIVE 30 1
SCRNPOS 4 1
GOTO RELATIVE PAGE 1
SCRNPOS 30 1
CARETPOS RELATIVE 30 1
SCRNPOS 4 1
GOTO RELATIVE PAGE 1
SCRNPOS 30 1
CARETPOS RELATIVE 30 1
SCRNPOS 4 1
GOTO RELATIVE PAGE 1
SCRNPOS 30 1
CARETPOS RELATIVE 30 1
SCRNPOS 4 1
GOTO RELATIVE PAGE 1
SCRNPOS 30 1
CARETPOS RELATIVE 30 1
SCRNPOS 4 1
GOTO RELATIVE PAGE 1
SCRNPOS 30 1
CARETPOS RELATIVE 30 1
SCRNPOS 4 1
GOTO RELATIVE PAGE 1
SCRNPOS 1 1
PRINT COPIES 3 FITBEST CURPAGE
CLOSE
OPENVIEW SERVERID 'VDRAAAR ' REPORTID 'AFTA0011 ' VERSIONID '20150903151544' EXACTREPORTID ALLEXACT
GOTO PAGE 41 SECTIONID ' 000000000000042'
PRINT COPIES 3 FITBEST CURPAGE
CLOSE
OPENVIEW SERVERID 'VDRAAAR ' REPORTID 'AFTA5011 ' VERSIONID '20150903151651' EXACTREPORTID ALLEXACT
GOTO PAGE 50 SECTIONID ' 000000000000051'
SCRNPOS 53 1
GOTO RELATIVE PAGE -1
SCRNPOS 1 1
CARETPOS RELATIVE -7 1
SCRNPOS 53 1
GOTO RELATIVE PAGE -1
SCRNPOS 1 1
CARETPOS RELATIVE -7 1
SCRNPOS 53 1
GOTO RELATIVE PAGE -1
SCRNPOS 1 1
CARETPOS RELATIVE -7 1
SCRNPOS 53 1
GOTO RELATIVE PAGE -1
SCRNPOS 1 1
CARETPOS RELATIVE -7 1
PRINT COPIES 3 FITBEST FROM 46 TO 47
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,216,076
Messages
6,128,669
Members
449,463
Latest member
Jojomen56

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