Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 504
Default Automatic update of Financial Spreadsheets

I have a series of financial spreadsheets for my company. Each job has its
own workbook with several spreadsheets in it; ex. Analysis, Expense
Breakdown, Expense paid. I have designed the spreadsheets so I can simply
type in the information needed for the Expense Breakdown and it updates the
Analysis with totals. What I am looking for is a button, or check box placed
next too the Breakdown which when pushed or checked will automatically update
the Expense Paid spreadsheet in the appropriate fields. It can be a series
of buttons or checkboxes, as long as it updates the expense paid sheet.
--
Kevin J Matson
Office Manager
Roberts Commercial Drywall Inc.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Automatic update of Financial Spreadsheets

formulas don't work?

If you want a macro, your question lacks any detail that would support
suggesting one.

Private Sub CommandButton1_click()
worksheets("Analysis").Range("B9").Value = _
application.Sum(worksheets("Expense Breakdown"). _
Range("F10:F50")
End Sub

would be a sample of code associated with a commandbutton added from the
control toolbox toolbar, that when clicked sums F10:F50 on a worksheet
"Expense Breakdown" and puts the results in B9 of the sheet analysis.

--
Regards,
Tom Ogilvy

"Kevin" wrote in message
...
I have a series of financial spreadsheets for my company. Each job has its
own workbook with several spreadsheets in it; ex. Analysis, Expense
Breakdown, Expense paid. I have designed the spreadsheets so I can simply
type in the information needed for the Expense Breakdown and it updates

the
Analysis with totals. What I am looking for is a button, or check box

placed
next too the Breakdown which when pushed or checked will automatically

update
the Expense Paid spreadsheet in the appropriate fields. It can be a

series
of buttons or checkboxes, as long as it updates the expense paid sheet.
--
Kevin J Matson
Office Manager
Roberts Commercial Drywall Inc.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 504
Default Automatic update of Financial Spreadsheets

How it works is this. My first worksheet is for the analysis which just shows
totals. My second worksheet is the breakdown which breaks down all total
categories with purchases made. What i would like is to insert a button of
some sort next to each purchase so that when it has been paid i can check it
or push it and it will update the third spreadsheet (Expense paid) with the
transaction which was paid and the same information entered for that purchase
from the Expense Breakdown worksheet.
--
Kevin J Matson
Office Manager
Roberts Commercial Drywall Inc.


"Tom Ogilvy" wrote:

formulas don't work?

If you want a macro, your question lacks any detail that would support
suggesting one.

Private Sub CommandButton1_click()
worksheets("Analysis").Range("B9").Value = _
application.Sum(worksheets("Expense Breakdown"). _
Range("F10:F50")
End Sub

would be a sample of code associated with a commandbutton added from the
control toolbox toolbar, that when clicked sums F10:F50 on a worksheet
"Expense Breakdown" and puts the results in B9 of the sheet analysis.

--
Regards,
Tom Ogilvy

"Kevin" wrote in message
...
I have a series of financial spreadsheets for my company. Each job has its
own workbook with several spreadsheets in it; ex. Analysis, Expense
Breakdown, Expense paid. I have designed the spreadsheets so I can simply
type in the information needed for the Expense Breakdown and it updates

the
Analysis with totals. What I am looking for is a button, or check box

placed
next too the Breakdown which when pushed or checked will automatically

update
the Expense Paid spreadsheet in the appropriate fields. It can be a

series
of buttons or checkboxes, as long as it updates the expense paid sheet.
--
Kevin J Matson
Office Manager
Roberts Commercial Drywall Inc.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Automatic update of Financial Spreadsheets

Assuming Breakdown and paid are identical and the paid would be on the same
row on both sheets

A checkbox would be better I think because you would then know you had
pushed it.

Write a macro like

Sub Checkbox_click()
sName = Application.Caller
set cbox = worksheets("Expense Breakdown").Checkboxes(sName)
if cbox.Value = xlOn then
rw = cbox.TopLeftCell.Row
Worksheets("Expense Paid").Cells(rw,"F").Value = _
Worksheets("Expense Breakdown").Cells(rw,"G").Value
End if
End Sub

make the forms toolbar visible and drag the checkboxes to the appropriate
location on Expense Breakdown. Assign each to the above macro (which should
be in a general module, not the sheet module).

--
Regards,
Tom Ogilvy


"Kevin" wrote in message
...
How it works is this. My first worksheet is for the analysis which just

shows
totals. My second worksheet is the breakdown which breaks down all total
categories with purchases made. What i would like is to insert a button of
some sort next to each purchase so that when it has been paid i can check

it
or push it and it will update the third spreadsheet (Expense paid) with

the
transaction which was paid and the same information entered for that

purchase
from the Expense Breakdown worksheet.
--
Kevin J Matson
Office Manager
Roberts Commercial Drywall Inc.


"Tom Ogilvy" wrote:

formulas don't work?

If you want a macro, your question lacks any detail that would support
suggesting one.

Private Sub CommandButton1_click()
worksheets("Analysis").Range("B9").Value = _
application.Sum(worksheets("Expense Breakdown"). _
Range("F10:F50")
End Sub

would be a sample of code associated with a commandbutton added from the
control toolbox toolbar, that when clicked sums F10:F50 on a worksheet
"Expense Breakdown" and puts the results in B9 of the sheet analysis.

--
Regards,
Tom Ogilvy

"Kevin" wrote in message
...
I have a series of financial spreadsheets for my company. Each job has

its
own workbook with several spreadsheets in it; ex. Analysis, Expense
Breakdown, Expense paid. I have designed the spreadsheets so I can

simply
type in the information needed for the Expense Breakdown and it

updates
the
Analysis with totals. What I am looking for is a button, or check box

placed
next too the Breakdown which when pushed or checked will automatically

update
the Expense Paid spreadsheet in the appropriate fields. It can be a

series
of buttons or checkboxes, as long as it updates the expense paid

sheet.
--
Kevin J Matson
Office Manager
Roberts Commercial Drywall Inc.






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 504
Default Automatic update of Financial Spreadsheets

Thank you so much for your help
--
Kevin J Matson
Office Manager
Roberts Commercial Drywall Inc.


"Tom Ogilvy" wrote:

Assuming Breakdown and paid are identical and the paid would be on the same
row on both sheets

A checkbox would be better I think because you would then know you had
pushed it.

Write a macro like

Sub Checkbox_click()
sName = Application.Caller
set cbox = worksheets("Expense Breakdown").Checkboxes(sName)
if cbox.Value = xlOn then
rw = cbox.TopLeftCell.Row
Worksheets("Expense Paid").Cells(rw,"F").Value = _
Worksheets("Expense Breakdown").Cells(rw,"G").Value
End if
End Sub

make the forms toolbar visible and drag the checkboxes to the appropriate
location on Expense Breakdown. Assign each to the above macro (which should
be in a general module, not the sheet module).

--
Regards,
Tom Ogilvy


"Kevin" wrote in message
...
How it works is this. My first worksheet is for the analysis which just

shows
totals. My second worksheet is the breakdown which breaks down all total
categories with purchases made. What i would like is to insert a button of
some sort next to each purchase so that when it has been paid i can check

it
or push it and it will update the third spreadsheet (Expense paid) with

the
transaction which was paid and the same information entered for that

purchase
from the Expense Breakdown worksheet.
--
Kevin J Matson
Office Manager
Roberts Commercial Drywall Inc.


"Tom Ogilvy" wrote:

formulas don't work?

If you want a macro, your question lacks any detail that would support
suggesting one.

Private Sub CommandButton1_click()
worksheets("Analysis").Range("B9").Value = _
application.Sum(worksheets("Expense Breakdown"). _
Range("F10:F50")
End Sub

would be a sample of code associated with a commandbutton added from the
control toolbox toolbar, that when clicked sums F10:F50 on a worksheet
"Expense Breakdown" and puts the results in B9 of the sheet analysis.

--
Regards,
Tom Ogilvy

"Kevin" wrote in message
...
I have a series of financial spreadsheets for my company. Each job has

its
own workbook with several spreadsheets in it; ex. Analysis, Expense
Breakdown, Expense paid. I have designed the spreadsheets so I can

simply
type in the information needed for the Expense Breakdown and it

updates
the
Analysis with totals. What I am looking for is a button, or check box
placed
next too the Breakdown which when pushed or checked will automatically
update
the Expense Paid spreadsheet in the appropriate fields. It can be a
series
of buttons or checkboxes, as long as it updates the expense paid

sheet.
--
Kevin J Matson
Office Manager
Roberts Commercial Drywall Inc.








  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Automatic update of Financial Spreadsheets

You might look at Steve Bell's suggestion - that might be really what you
want. Just be aware that any movement through the cell will trigger the
selectionchange event.
--
Regards,
Tom Ogilvy

"Kevin" wrote in message
...
Thank you so much for your help
--
Kevin J Matson
Office Manager
Roberts Commercial Drywall Inc.


"Tom Ogilvy" wrote:

Assuming Breakdown and paid are identical and the paid would be on the

same
row on both sheets

A checkbox would be better I think because you would then know you had
pushed it.

Write a macro like

Sub Checkbox_click()
sName = Application.Caller
set cbox = worksheets("Expense Breakdown").Checkboxes(sName)
if cbox.Value = xlOn then
rw = cbox.TopLeftCell.Row
Worksheets("Expense Paid").Cells(rw,"F").Value = _
Worksheets("Expense Breakdown").Cells(rw,"G").Value
End if
End Sub

make the forms toolbar visible and drag the checkboxes to the

appropriate
location on Expense Breakdown. Assign each to the above macro (which

should
be in a general module, not the sheet module).

--
Regards,
Tom Ogilvy


"Kevin" wrote in message
...
How it works is this. My first worksheet is for the analysis which

just
shows
totals. My second worksheet is the breakdown which breaks down all

total
categories with purchases made. What i would like is to insert a

button of
some sort next to each purchase so that when it has been paid i can

check
it
or push it and it will update the third spreadsheet (Expense paid)

with
the
transaction which was paid and the same information entered for that

purchase
from the Expense Breakdown worksheet.
--
Kevin J Matson
Office Manager
Roberts Commercial Drywall Inc.


"Tom Ogilvy" wrote:

formulas don't work?

If you want a macro, your question lacks any detail that would

support
suggesting one.

Private Sub CommandButton1_click()
worksheets("Analysis").Range("B9").Value = _
application.Sum(worksheets("Expense Breakdown"). _
Range("F10:F50")
End Sub

would be a sample of code associated with a commandbutton added from

the
control toolbox toolbar, that when clicked sums F10:F50 on a

worksheet
"Expense Breakdown" and puts the results in B9 of the sheet

analysis.

--
Regards,
Tom Ogilvy

"Kevin" wrote in message
...
I have a series of financial spreadsheets for my company. Each job

has
its
own workbook with several spreadsheets in it; ex. Analysis,

Expense
Breakdown, Expense paid. I have designed the spreadsheets so I can

simply
type in the information needed for the Expense Breakdown and it

updates
the
Analysis with totals. What I am looking for is a button, or check

box
placed
next too the Breakdown which when pushed or checked will

automatically
update
the Expense Paid spreadsheet in the appropriate fields. It can be

a
series
of buttons or checkboxes, as long as it updates the expense paid

sheet.
--
Kevin J Matson
Office Manager
Roberts Commercial Drywall Inc.








  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 692
Default Automatic update of Financial Spreadsheets

Kevin,

I usually do this by setting a column (usually column A) for the check.
Instead of checkboxes or buttons I use the Selection change event. [the
only problem is accidental selection of a cell in column A]. You might want
to add a second check for entries in other cells.

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Column = 1 Then
If IsEmpty(Target) Then
Target = "X"
MsgBox "Do something"
Else: Target.ClearContents
End If
End If
End Sub

--
steveB

Remove "AYN" from email to respond
"Kevin" wrote in message
...
How it works is this. My first worksheet is for the analysis which just
shows
totals. My second worksheet is the breakdown which breaks down all total
categories with purchases made. What i would like is to insert a button of
some sort next to each purchase so that when it has been paid i can check
it
or push it and it will update the third spreadsheet (Expense paid) with
the
transaction which was paid and the same information entered for that
purchase
from the Expense Breakdown worksheet.
--
Kevin J Matson
Office Manager
Roberts Commercial Drywall Inc.


"Tom Ogilvy" wrote:

formulas don't work?

If you want a macro, your question lacks any detail that would support
suggesting one.

Private Sub CommandButton1_click()
worksheets("Analysis").Range("B9").Value = _
application.Sum(worksheets("Expense Breakdown"). _
Range("F10:F50")
End Sub

would be a sample of code associated with a commandbutton added from the
control toolbox toolbar, that when clicked sums F10:F50 on a worksheet
"Expense Breakdown" and puts the results in B9 of the sheet analysis.

--
Regards,
Tom Ogilvy

"Kevin" wrote in message
...
I have a series of financial spreadsheets for my company. Each job has
its
own workbook with several spreadsheets in it; ex. Analysis, Expense
Breakdown, Expense paid. I have designed the spreadsheets so I can
simply
type in the information needed for the Expense Breakdown and it updates

the
Analysis with totals. What I am looking for is a button, or check box

placed
next too the Breakdown which when pushed or checked will automatically

update
the Expense Paid spreadsheet in the appropriate fields. It can be a

series
of buttons or checkboxes, as long as it updates the expense paid sheet.
--
Kevin J Matson
Office Manager
Roberts Commercial Drywall Inc.






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
professional looking financial spreadsheets mattflow Excel Discussion (Misc queries) 3 October 11th 10 02:20 PM
How do I enable automatic updates of links between spreadsheets? dpaschkeFIS Excel Worksheet Functions 0 October 12th 09 10:19 PM
Automatic update of spreadsheet & automatic update between workboo Losva Excel Worksheet Functions 6 September 12th 08 03:22 PM
Automatic numbering of spreadsheets Taylor Excel Worksheet Functions 1 May 5th 06 04:47 PM
how to automatic upload data between excel spreadsheets Martin Excel Programming 1 April 11th 05 08:16 PM


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