We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
Setting up Filepath as a Footer in Excel 2000
Gambler
Posts: 3,402 Forumite
in Techie Stuff
I have used an invaluable formula in Excel for many years which is the cell("filename") formula which prints the full path, filename and worksheet of the spreadsheet.
Just been speaking with a friend who has the 2003 edition and he informs me it is possible to do this as a footer in the custom footer tab.
This is not possible in 2000 but I have tried a macro I found here:
http://techrepublic.com.com/5100-1035_11-1058172.html#
Works a treat apart from one thing. It does print the path and filename but not the worksheet. The full route is important due to the complex spreadsheets that we use.
Can anybody help please?
Just been speaking with a friend who has the 2003 edition and he informs me it is possible to do this as a footer in the custom footer tab.
This is not possible in 2000 but I have tried a macro I found here:
http://techrepublic.com.com/5100-1035_11-1058172.html#
Works a treat apart from one thing. It does print the path and filename but not the worksheet. The full route is important due to the complex spreadsheets that we use.
Can anybody help please?
0
Comments
-
I don't have Excel 2000, but just changing the code to:
Worksheet.PageSetup.LeftFooter = ActiveWorkbook.FullName + " " + ActiveSheet.Name
should work.0 -
Chippy_Minton wrote:I don't have Excel 2000, but just changing the code to:
Worksheet.PageSetup.LeftFooter = ActiveWorkbook.FullName + " " + ActiveSheet.Name
should work.
thanks but it's a runtime error '424' object required I'm afraid.0 -
Try:
ActiveSheet.PageSetup.LeftFooter = ActiveWorkbook.FullName + " " + ActiveSheet.Name0 -
Chippy_Minton wrote:Try:
ActiveSheet.PageSetup.LeftFooter = ActiveWorkbook.FullName + " " + ActiveSheet.Name
star man, thank you !
I do keep asking my boss to let me go on a VB course.0 -
You really want a course on Visual Basic for Applications (VBA). VBA is a version of Visual Basic integrated into Microsoft Office applications with direct access to the objects of the host application. A good way to learn VBA is to play around with the Macro recorder and look at the code it produces.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 353.8K Banking & Borrowing
- 254.2K Reduce Debt & Boost Income
- 455.2K Spending & Discounts
- 246.8K Work, Benefits & Business
- 603.4K Mortgages, Homes & Bills
- 178.2K Life & Family
- 260.9K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards