How to draw 2D values to windows screen??
Suppose now I have a 2D array containing binary values only (1 or 0). I would
like to draw these values on the windows screen (created by MFC dialog-based
app in MSVC++ 2005) with 0 be black (0, 0, 0) and 1 be white (255, 255, 255).
Which MFC class and function should I use to achieve this effect??
Newbie Question wrote:
> Suppose now I have a 2D array containing binary values only (1 or 0). I would
> like to draw these values on the windows screen (created by MFC dialog-based
> app in MSVC++ 2005) with 0 be black (0, 0, 0) and 1 be white (255, 255, 255).
> Which MFC class a...Adding some values on a sheet???
Hello and thanks in advance. I'm working on a calculator for some Cable TV
plants designs. Here is what I need:
I'd like to have a drop down menu with several different values of design in
it. When I click on a value, I'd like it to insert some "value specific"
numbers on this type of chart below......
Any ideas on how I go about that and where to insert and store the info for
each type of "value"
Hudson Falls, NY
Hi Doug Strinz,
Assume that you have a worksheet named 'master'. On ...text value
I need to rank a column containing concatonated names and addresses. Ranking
only handles numeric values, is there any way to give text a numeric value?
It would have helped to see some test data but let's start from here.
With your data in column A starting in A2 enter this in b2 and drag down
When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
> I need to rank a colum...How to retrieve value from specific cell value?
Does anyone have any suggestions on how to retrieve value from specific cell
value with specific worksheet?
I would like to create a if-statement within macro,
If specific cell within specific worksheet = 1 then
process following code
Does anyone have any suggestions?
Thanks in advance for any suggestions
If Sheets("sheet1").Range("A1") = 1 Then
MsgBox "run code"
MsgBox "skip code"
> Does anyone have any suggestions on how to retrieve value from specific cell
&...Value Axis Scale Change Problem #2
Thanks Jon - problem solved
dp_fulcher's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=969
View this thread: http://www.excelforum.com/showthread.php?threadid=27033
...Item Value List vs Item Movement History Report (including cost)
I have been trying to create reports for previous points in time, but I am so
confused at this point as to what is what. I've ran an Item Value list, which
shows the current value of items, and got an extended cost. Then I ran an
Item Movement History Report that includes cost with a filter that begins
before the store opened and ends today. The extended cost in this report was
very close, but not the same as the extended cost in the Item Value list. Is
there something that the Item Movement History Report takes into account that
the Item Value list doesn't, or vise versa? Beca...Multiple Value Lookup field
I need to add multiple values to a look up field and I just found out that
new to Access 2007 I can add multi-values to my look-up fields. I just tried
doing this, but for some reason in the look-up wizard there is no check box
that says "Allow Multiple Values", so then I went to the Lookup tab in the
field properties to see if there was an Allow Multiple Values property and
there was none. Not sure if this would mean anything, but this table was
converted from Access 2003 to Access 2007.
Why do I not have this option and what I can do about it?
On Mon, 12 Nov 2007 12:58:0...Unique Values from Access
I'm trying to create a validation list with data from access. The code
below already do it, but I have a big problem: in the field of access
database I can have duplicate data...
year_month year_quarter year
200701 200701 2007
200702 200701 2007
200703 200701 2007
200704 200702 2007
And the code below brings duplicate data. How can I solve this
I wouldn't like to bring all information to excel ...Default values
How can I set up default values for text box fields for new records?
Fore example: I would like to set up default value for Country so when user
creates new account - country field is populated with that vaue.
You would need to use a picklist field instead of a text field and
add a value for each country. You can then set the default country.
This is all done in Systom Customisation > Customise Form.
Other than this you could use a workflow based on Account Create.
Insert a condition to check the country field is null, and insert an
action to update the country fi...Populate cell with a value if another cell has a certain value
All, good morning. i have a issue, i need to populate cell E4 with a value
CX/025966 when cell F4 has a text Bond Street.
Is there a simple way of doin this?
If my comments have helped please hit Yes.
> All, good morning. i have a issue, i need to populate cell E4 with a value
> CX/025966 when cell F4 has a text Bond Street.
> Is there a simple way of doin this?
=IF(F4="Bond Street","CX/02...Can't Assign Value to this Object
I think I've seen this problem before but I can't remember the reason or
solution. I have a form (in add mode) whose record source is a single
table. For most fields on the form, the user will input data, but for a
couple of fields I am trying to populate them with the values of global
variables. I've got the global variables working (I can assign one to an
unbound text box on the form), but when I try to assign the variable value
to a bound text box, I get an error message that "Run-time error 2448: You
can't assign a value to this object". Here is ...Lookup a value in a table and display text if a value exists
I have a customer database form named frmMain with a field called txtAgency.
I also have a table that has a column of agency codes that are in the
Outlook Global directory. The table is called tbl_Global and consist of about
If the user inputs an agency that is within this table on the frmMain, I
want the phone number field (txtPhone) on the database form to automatically
display "See Outlook". If the agency is not within this list, I want the end
user to be able input a value on the form.
What is the best way to go about this?
Use DLookup() to get t...Need a lookup formula that matches 2 values and returns the 3rd va
I neeed to merge 16000 rows of data with some duplicate vales. Poor record
keeping lead to two lists and each was updated independantly if at all. Some
orders show up one list and not the other so I can't just sort or do a dup
search. I'm trying to recreate this data and track the status of all orders
for the past 12 months. When orders were shipped out in parts the same order
number was used and this has been a nightmare trying to sort the duplicates
and match the dates.
I need a formula for F that returns the current status based on the order
number and date. I tried a...Summing visible column values but not hidden column values
I need to write a SUM function that will add up the numbers in several
columns of data (for example, A4:S4), but I only want it to add those columns
that are visible, not those that are hidden. Is there any way to have Excel
add only the numbers in the visible columns, not in any hidden columns?
have you hiddent he columns manually?. If yes you'll need VBA
"BW" <BW@discussions.microsoft.com> schrieb im Newsbeitrag
> I need to write a SUM function that ...HELP! Chart Zero Values
I'm new to this forum...I hope someone can help. I have just become
trainee Office Trainer, and a delegate has asked me a question that
can't immediately help her with. She has a job interview thi
afternoon and has been given some Excel tasks to do.
She has been asked to create a scatter chart using 2 columns of data i
the spreadsheet. How do you get the chart to not display the data i
either the x or y axis data is null?
I know you can get the chart to not display the values if both x and
are zero, but what if just one of the axis is zero?
If anyone can help me with this ...Paste Values Based on Conditional Value
I have a workbook with 2 worksheets. Basically it is a daily sales
log. On worksheet 1 the user will input multiple daily sales figures
and the date. Worksheet 2 is the historical sales figures. The
theoretical usage will be for the end user to go to worksheet 1, enter
the date and daily sales figures and click the save data button. I am
seeking a formula that will look at the date entry and paste the
values from worksheet 1 into the proper line on worksheet 2 based on
the date entry from worksheet 1.
Example: Column A of worksheet 2 is simply a list of dates. January
I'm using the Histogram function and trying to set my own bin values.
However, Excel ignores them and uses the default bin values. My bin values
are in ascending order and are formatted as a number. I do not get any error
messages, just the wrong bin numbers.
...Extract from a table a value by interpolating
I'm a new with fancy things in excell and would very much appreciate the help.
I have a table from which I want to extract values, but I want those values
to be interpolated from what is in the table. How can I do that?
hi, this is how i do it.
Lets say your table is at A12 to B20
make another column at column C with this equaition =(B14-B13)/(A14-A13)
A B C
12 2.000 1.000 0.5
13 4.000 2.000 1.0
14 6.000 4.000 1.0
15 8.000 6.000 1.0
16 10.000 8.000 1.0
17 12.000 10.000 1.0
18 14.000 12.000 1.0
19 16.000 14.00...Incorrect value on the SMTP HELO/EHLO
I am looking for some help on this one. I inherited some exchange
admin duties and to be honest it's not my specialty.
We recently switched IP providers and our IP addresses changed. This
also means we changed our DNS provider and I believe they have the
appropriate zone records setup, although this may not be the case
since I don't recall having this issue with our previous provider.
When sending email to external email addresses we get NDR's from
several different ISPs usually stating they are blocked because our IP
address does not match the domain.
The mailserver identifie...Sum Values depending on other values
I would like to have a formula in a single cell that will sum the values in
range E:E if the corresponding value in G:G is >0.
Col G Col E
The sum of Col E is 4.
(remove nothere from email address if mailing direct)
"bw" <firstname.lastname@example.org> wrote in message
> I would like to have a formula in a single cell that will sum the values
> range E:E if the c...Pre defined value in Text Box
I have input box that when certain criteria are met needs
a predefined value in a text box within the input box. I
have used the following code to try this but it doesn't
seem to work
Activity_Text.Text = "812402"
Job_No_Text.Text = ""
Rec_Point_Text.Text = ""
Activity_Text, Job_No_Text and Rec_Point_Text are the
named text boxes. When the input box opens the Activity
text box is empty!!!
Many thanks in advance
...Newbie question / plug in a value for a cell based on a range for that value
New to Excel so sorry if this explanation isn't the clearest in terms of
In one section of my spreadsheet I have a list of percentage values
associated with numbers 1-20. For example #10 is listed with the percentage
value of 38.4% in the cell next to it (O14 and P14).
In another section of the spreadsheet I have a quick formula that I'd like
to use these %'s based on what number (1-20) is entered.
In my spreadsheet the % I want to use for this #10 is listed in P14 (38.4%).
What can I plug into my formula so when I enter "10" is kno...Read values from excel rows
I am trying to read the values from a excel row. There are 89
columns for each row and same number of data in each rows.
You need to explain how/where you want to read them.... From another workbook, another worksheet, a
VBA function, a macro, a C# application?
MS Excel MVP
"shantanu" <email@example.com> wrote in message
> I am trying to read the values from a excel row. There are 89
> columns for each row and same number of da...Multiply all query by same value
...getting rid of zero values in a column
i have a set of data on a column that i`ll use to plot on a graph and find a
trendline for its behaviour...problem is: there is zero values in some cells
that were not calculated... i want to copy this data in a new column getting
rid of cells with zero value because it results in a wrong trendline...how
can i do this?please help
this is an example of what i mean:
One of the simpler ways is to hide the rows for the cells that have zeros and
then plot the graph.
> i have a set of data on a ...