ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Attaching Macros to Custom Buttons (https://www.excelbanter.com/excel-programming/274993-attaching-macros-custom-buttons.html)

Jack O

Attaching Macros to Custom Buttons
 
I have created a spreadsheet to track contractor's
submittals (shop drawings) in our office. Mostly this
involves alot of date arithmetic. One of the features of
the sheet is that I can add a new line for resubmittals.
I wrote a macro that creates a new line and then copies
formulas into the new line. To simpify the process I
created a button which is attached to the file.
The problem is that I created the original spread sheet in
Excel 5.0. In 5.0 I can select a cell, hit the button and
the new line is created under the selected cell. In 2000
when I hit the button the new line is created in a cell
under the button!!!! Any Ideas???


All times are GMT +1. The time now is 09:05 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com