Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Insert, copy, update, delete records through VBA

Hi,

I have an excel'07 database of employees where I have to add, update, delete
records very often. Since it is not practical for me to open the excel file
always, I wish to have a macro, which can help me to enter, update or delete
records from an excel file and even generate report of employees based on the
different criteria.

It will be a great help if any one can help me with this.

Regards,
Raiju
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default Insert, copy, update, delete records through VBA

Update:

Sub Macro1()
Workbooks.Open Filename:= "C:\Path\file.xlsm"
End Sub


Add:

Sub Macro1()
Workbooks.Add
End Sub




"Raiju" wrote:

Hi,

I have an excel'07 database of employees where I have to add, update, delete
records very often. Since it is not practical for me to open the excel file
always, I wish to have a macro, which can help me to enter, update or delete
records from an excel file and even generate report of employees based on the
different criteria.

It will be a great help if any one can help me with this.

Regards,
Raiju

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default Insert, copy, update, delete records through VBA

Also to delete:

Sub Macro1()
Kill c:\Path\file.xlsm
End Sub

"Philosophaie" wrote:

Update:

Sub Macro1()
Workbooks.Open Filename:= "C:\Path\file.xlsm"
End Sub


Add:

Sub Macro1()
Workbooks.Add
End Sub




"Raiju" wrote:

Hi,

I have an excel'07 database of employees where I have to add, update, delete
records very often. Since it is not practical for me to open the excel file
always, I wish to have a macro, which can help me to enter, update or delete
records from an excel file and even generate report of employees based on the
different criteria.

It will be a great help if any one can help me with this.

Regards,
Raiju

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Insert, copy, update, delete records through VBA

Since it is not practical for me to open the excel file always

????
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
Cannot Move, Copy, Insert, Rename, or Delete a Worksheet in Any Wo JG Excel Discussion (Misc queries) 6 February 4th 09 06:42 PM
Delete records when certain records have duplicate column data JVroom New Users to Excel 1 January 26th 09 06:23 PM
Block copy/insert of 5 rows, then update formula below? David Excel Worksheet Functions 2 October 15th 08 05:35 PM
check box, copy / paste or insert / delete row Carla Excel Worksheet Functions 2 June 4th 08 03:01 PM
cut and delete a row then insert and copy lmch New Users to Excel 1 October 10th 07 11:38 AM


All times are GMT +1. The time now is 11:51 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"