Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Excel 2010 Header and Footer Bug - Macro recording

$
0
0

I have tried to record a macro in Excel 2010 to put in a custom header/footer.

1. Recording the Macro, stored in Personal Macro Workbook.

2. Go to Page Setup and Custom Header (or Footer)

3. Inserted the Date/Time field in the left. Inserted the Filepath in the right.

4. Closed header/footer

5. Stopped Macro recording.

When the macro is rerun, and viewed in Page Layout, odd codes appear &&R and the path appears on the left.

 

Curious to know if this is a new bug, as this macro used to work perfectly in all prior versions of Excel (I'm a trainer and we've been doing this macro for many versions). Tried recording the macro through the dialog box and through the Page Layout view, and saving in this workbook, and in personal macro workbook. No luck in seeing the expected outcome when it is run via the macro.


Viewing all articles
Browse latest Browse all 11829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>