Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Variable Help

I'm sure this is an easy task for the experts around here, but I'm having
some troubles strating out. Basically I would like to be able to bring a
gross margin value from our "Costing" and then recall that value onto a
"Change Order Sheet". That much is simple enough, but next I want to be able
to record that value permanently and then adjust and save to a new variable
as we add or subtract values from out bill. We would like to essentially have
a record of how our margin is affected as we change the order. Hopefully this
is enough information for someone to offer up some solution. Thanks for any
help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 120
Default Variable Help

Can you offer any more information...

Do you have any code so far?

I would suggest setting the variable when the macro runs (possibly from a
value in a cell), and then set a second variable from the first in the macro
that can be changed as needed.

My $0.02 worth...


Mark



"Darek" wrote in message
...
I'm sure this is an easy task for the experts around here, but I'm having
some troubles strating out. Basically I would like to be able to bring a
gross margin value from our "Costing" and then recall that value onto a
"Change Order Sheet". That much is simple enough, but next I want to be
able
to record that value permanently and then adjust and save to a new
variable
as we add or subtract values from out bill. We would like to essentially
have
a record of how our margin is affected as we change the order. Hopefully
this
is enough information for someone to offer up some solution. Thanks for
any
help.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Variable Help

I have no code thus far. I'm working with a simple sheet we have used to
calculate our Gross Margin. I dont know anything about programming in VBA so
perhaps I am getting ahead of myself here, but this is would I would like to
accomplish someday with my workbook.

"Mark Ivey" wrote:

Can you offer any more information...

Do you have any code so far?

I would suggest setting the variable when the macro runs (possibly from a
value in a cell), and then set a second variable from the first in the macro
that can be changed as needed.

My $0.02 worth...


Mark



"Darek" wrote in message
...
I'm sure this is an easy task for the experts around here, but I'm having
some troubles strating out. Basically I would like to be able to bring a
gross margin value from our "Costing" and then recall that value onto a
"Change Order Sheet". That much is simple enough, but next I want to be
able
to record that value permanently and then adjust and save to a new
variable
as we add or subtract values from out bill. We would like to essentially
have
a record of how our margin is affected as we change the order. Hopefully
this
is enough information for someone to offer up some solution. Thanks for
any
help.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 120
Default Variable Help

Darek,

If you can send me a workbook I can work with and some detailed information
(like which cell(s) has/have the information and how you want to store it),
I will give this one a shot...


Mark Ivey



"Darek" wrote in message
...
I have no code thus far. I'm working with a simple sheet we have used to
calculate our Gross Margin. I dont know anything about programming in VBA
so
perhaps I am getting ahead of myself here, but this is would I would like
to
accomplish someday with my workbook.

"Mark Ivey" wrote:

Can you offer any more information...

Do you have any code so far?

I would suggest setting the variable when the macro runs (possibly from a
value in a cell), and then set a second variable from the first in the
macro
that can be changed as needed.

My $0.02 worth...


Mark



"Darek" wrote in message
...
I'm sure this is an easy task for the experts around here, but I'm
having
some troubles strating out. Basically I would like to be able to bring
a
gross margin value from our "Costing" and then recall that value onto a
"Change Order Sheet". That much is simple enough, but next I want to be
able
to record that value permanently and then adjust and save to a new
variable
as we add or subtract values from out bill. We would like to
essentially
have
a record of how our margin is affected as we change the order.
Hopefully
this
is enough information for someone to offer up some solution. Thanks for
any
help.


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
Getting inconsistent Error 91-Object variable or With block variable not set mfq Excel Programming 0 December 14th 05 06:08 PM
Running a variable macro when any value is entered into a variable cell [email protected] Excel Programming 3 December 14th 05 05:15 PM
why is it saying sheetcnt is "variable not defined" how to do a global variable to share over multiple functions in vba for excel? Daniel Excel Worksheet Functions 1 July 9th 05 03:05 AM
Run-time error '91': "Object variable or With block variable not set Mike[_92_] Excel Programming 2 December 30th 04 10:59 AM
Cells.Find error Object variable or With block variable not set Peter[_21_] Excel Programming 2 May 8th 04 02:15 PM


All times are GMT +1. The time now is 11:18 AM.

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"