New to Excel Macros

T

Terry

I'm converting some Quatro Pro spreadsheets to Excel and am having problems
figuring out some of the requirements for Excel macros.

Here is an example. It converts several cells across columns from calculated
figures to numbers. As you can see it really is simple and repetitive, but
I'm stuck.

Thanks in advance, Terry

Macro to change formulas to values
after making allotment input
\C {edit}{calc}~
{right}
{edit}{calc}~
{right}
{edit}{calc}~
{right}
{edit}{calc}~
{right}
{edit}{calc}~
{right}
{edit}{calc}~
{right}
{edit}{calc}~
{right}
{edit}{calc}~
{right}
{edit}{calc}~
{right}
{edit}{calc}~
{right}
{edit}{calc}~
 
J

JE McGimpsey

One way:

This converts selected cells to their values:

Public Sub MakeValues()
With Selection
.Value = .Value
End With
End Sub

Which is equivalent to

Public Sub MakeValues()
Selection.Value = Selection.Value
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top