![]() |
|
|
|||||||
| FlashChat | Actuarial Discussion | Preliminary Exams | CAS/SOA Exams | Cyberchat | Around the World | Suggestions |
Registration Form |
D.W. Simpson |
Australia Jobs | Pension |
![]() |
|
|
Thread Tools | Display Modes |
|
#31
|
|||
|
|||
|
My problem is the not undoable part. I do a lot of things that I like to undo. I guess it makes sense to do it the right way once though...
|
|
#32
|
||||
|
||||
|
I just wanted to say I love the title and theme of this thread. Only in an actuarial forum. . .
As for what's in my personal.xlsb. . . well, that's personal.
__________________
![]() Follow us on Twitter, Facebook, and LinkedIn See how the changes coming to the SOA's FSA pathways will affect you --- Practically Efficient |
|
#33
|
||||
|
||||
|
Anyone care to share how you set up a personal.xls?
This is new to me, and I'm somewhat of a VBA novice, especially for writing code. Once I know how to get this thing working, can someone tell me how to get a custom footer? That we be awesome instead of doing it for *every* single sheet I print! |
|
#34
|
||||
|
||||
|
Quote:
As for the custom footer, I don't have mine anymore but I think someone posted something already for the code. Then just link a button to the macro and there you go.
__________________
GAME ON!!!!!!! Let your ness show. Join the D&D fun. Started but applications still acceptedOfficially assigned the role of Dictator, 9/30/09. Bow to my whims. |
|
#35
|
||||
|
||||
|
I don't see it but you can do
currentsheet.PageSetup.LeftFooter = "&[Path]&[File]" currentsheet.PageSetup.CenterFooter = "&[Page]" currentsheet.PageSetup.CenterFooter = "&[Date]&[Time]"
__________________
GAME ON!!!!!!! Let your ness show. Join the D&D fun. Started but applications still acceptedOfficially assigned the role of Dictator, 9/30/09. Bow to my whims. |
|
#37
|
||||
|
||||
|
Quote:
Code:
Sub Footer()
With ActiveSheet.PageSetup
.LeftFooter = "&Z&F"
.RightFooter = "Date Printed:" & Chr(10) & "&D"
End With
End Sub
|
|
#38
|
||||
|
||||
|
Quote:
Previous version you right click on the menu at the top and customize. The easiest way I found was to go to controls, find one that looks like what you want the picture to be and drag it up onto the menu somewhere, then right click on the icon and edit it if you want, then choose assign macro and select it from the list. 07 you have to do through the customization and you get to choose one of their predetermined icons to use.
__________________
GAME ON!!!!!!! Let your ness show. Join the D&D fun. Started but applications still acceptedOfficially assigned the role of Dictator, 9/30/09. Bow to my whims. |
|
#39
|
||||
|
||||
|
Okay, I'll share one. . .
I created this custom footer code a while back and use it a good bit. I have a button that I can press to run it on any workbook. One nice feature I built in was an overwrite warning. It puts page X of Y at the top right, full file path and name and tab name on the bottom left, and date with time on the bottom right. I also created an "overscore" effect using a bunch of underscores and a carriage return. Code:
Sub MakeFooter()
Dim OvrWrt
OvrWrt = vbYes
If ActiveSheet.PageSetup.LeftFooter <> "" Or ActiveSheet.PageSetup.RightFooter <> "" Then
OvrWrt = MsgBox("Overwrite existing footer(s)?", vbYesNo)
End If
If OvrWrt = vbNo Then Exit Sub
With ActiveSheet.PageSetup
.RightHeader = "Page &P of &N"
.LeftFooter = "________________________________________________________________" & Chr(10) & "&Z&F" & Chr(10) & "&A"
.RightFooter = " " & Chr(10) & "&D" & Chr(10) & "&T"
End With
End Sub
__________________
![]() Follow us on Twitter, Facebook, and LinkedIn See how the changes coming to the SOA's FSA pathways will affect you --- Practically Efficient |
|
#40
|
||||
|
||||
|
Yeah the parody thread has been right on the tip of my tongue but I can't quite get there.... Little help AS.
__________________
EC-loving mod |
![]() |
| Tags |
| macros, vba |
| Thread Tools | |
| Display Modes | |
|
|