ItIsHardToProgram
Technical User
Hey every one,
I have a quick easy question, I want to place in a event the following code
Whats is this for?
Prety darn simple, I have income statements that I copy in a excel file already containing the same income statement, I have a macro that replaces the value of the old income statements with the new ones freshly copied. After it deletes the new income statements.
The reason I proceed like this is that I don't want to lose the links that my cells have to the income statements (old).
What do I want to do?
As soon as I copy the income statements from one workbook to another I want the macro to test if the workbook has new income statements, and if so automaticaly paste/delete the new data.
This is a relativly easy concept and I only want to know what is the good event for what im doing, or if theres a better way of doing it?
Thank you very much,
"Knowing that you know is the greatest sign of stupidity, knowing that you are ignorant is the best proof of intelligence.
I have a quick easy question, I want to place in a event the following code
Code:
Dim iWorksheetCount as integer
iWorksheetCount = Worksheets.Count
If iWorksheetCount > 15 Then
Event
End if
Whats is this for?
Prety darn simple, I have income statements that I copy in a excel file already containing the same income statement, I have a macro that replaces the value of the old income statements with the new ones freshly copied. After it deletes the new income statements.
The reason I proceed like this is that I don't want to lose the links that my cells have to the income statements (old).
What do I want to do?
As soon as I copy the income statements from one workbook to another I want the macro to test if the workbook has new income statements, and if so automaticaly paste/delete the new data.
This is a relativly easy concept and I only want to know what is the good event for what im doing, or if theres a better way of doing it?
Thank you very much,
"Knowing that you know is the greatest sign of stupidity, knowing that you are ignorant is the best proof of intelligence.