Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Debug issue with macros

I have an xls with a macros to insert the file path into
the footer just prior to printing. However, whenever
someone else tries to do a print preview on that file the
debugger pops up. Here is the macros as it appears in my
xls:

Private Sub Workbook_BeforePrint(Cancel As Boolean)
ActiveSheet.PageSetup.LeftFooter = ThisWorkbook.FullName
End Sub

Whats the deal?
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debug Issue DataGuy Excel Discussion (Misc queries) 3 April 15th 09 10:55 PM
Macros Issue Sara Excel Discussion (Misc queries) 2 February 18th 09 04:51 PM
VB macros issue with selecting cells on different page Sunny Excel Discussion (Misc queries) 1 March 17th 07 01:07 AM
DeBug Ollie Excel Discussion (Misc queries) 4 April 28th 06 03:17 PM
Debug/Compile: Compilng excel macros? What it generates? faustino Dina Excel Programming 4 August 1st 03 07:11 PM


All times are GMT +1. The time now is 10:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"