ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   saving (https://www.excelbanter.com/excel-discussion-misc-queries/178060-saving.html)

Mike

saving
 
Is there a way to save a sheet after every entry?

Thanks,
Mike

Mike H

saving
 
Hi,

You don't make it clear what you mean by every entry and you can't save a
worksheet, you must save the workbook. So taking your question literally this
saves the workbook every time a cell changes

Alt+F11 to open vb editor. doubleclick 'this workbook' and paste this in

Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
ActiveWorkbook.Save
End Sub

Mike

"MIke" wrote:

Is there a way to save a sheet after every entry?

Thanks,
Mike


Jim Thomlinson

saving
 
You would need to use a macro... I personally would not do it though as your
performance could be awfully slow. If you want help with the macro just post
back. It is quite simple to do...
--
HTH...

Jim Thomlinson


"MIke" wrote:

Is there a way to save a sheet after every entry?

Thanks,
Mike


Mike

saving
 
Mike,

Thanks. Thats what I needed.

"Mike H" wrote:

Hi,

You don't make it clear what you mean by every entry and you can't save a
worksheet, you must save the workbook. So taking your question literally this
saves the workbook every time a cell changes

Alt+F11 to open vb editor. doubleclick 'this workbook' and paste this in

Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
ActiveWorkbook.Save
End Sub

Mike

"MIke" wrote:

Is there a way to save a sheet after every entry?

Thanks,
Mike



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

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