PC Review


Reply
Thread Tools Rate Thread

Array activation question

 
 
Steve
Guest
Posts: n/a
 
      6th Jan 2010
Morning all.
I'm making a user form to simplify the input of data for a complicated
worksheet function.
One of the things I was told about this function is that it requires a
specific key combination--
ctrl+shift+enter, with the cell being active (the cursor needs to be active
within the cell field, or the formula bar).
Apparently this places two {} on the outsides of the equation, to do
something to it that makes it work.
And it's not enough to just place the {} on the equation manually. It
specifically requires the keystroke combination mentioned above.

My question---
Within the workings of the wizard/userform that I'm making, can I do
something to activate this set up so that once the wizard/form is finished,
the formulas are actively working?

I hope this is clear-- if not, please let me know.
Thank you.

 
Reply With Quote
 
 
 
 
Lars-Åke Aspelin
Guest
Posts: n/a
 
      6th Jan 2010
On Wed, 6 Jan 2010 09:18:01 -0800, Steve
<(E-Mail Removed)> wrote:

>Morning all.
>I'm making a user form to simplify the input of data for a complicated
>worksheet function.
>One of the things I was told about this function is that it requires a
>specific key combination--
>ctrl+shift+enter, with the cell being active (the cursor needs to be active
>within the cell field, or the formula bar).
>Apparently this places two {} on the outsides of the equation, to do
>something to it that makes it work.
>And it's not enough to just place the {} on the equation manually. It
>specifically requires the keystroke combination mentioned above.
>
>My question---
>Within the workings of the wizard/userform that I'm making, can I do
>something to activate this set up so that once the wizard/form is finished,
>the formulas are actively working?
>
>I hope this is clear-- if not, please let me know.
>Thank you.



Try this statement in your code::

Worksheets("Sheet1").Range("A1").FormulaArray ="=your formula here"

Change the sheet name and range to suit your needs.

Hope this helps / Lars-Åke


 
Reply With Quote
 
Chip Pearson
Guest
Posts: n/a
 
      6th Jan 2010
Assign the final formula string with FormulaArray rather than Formula:

Range("A1").FormulaArray = "your formula"

Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]



On Wed, 6 Jan 2010 09:18:01 -0800, Steve
<(E-Mail Removed)> wrote:

>Morning all.
>I'm making a user form to simplify the input of data for a complicated
>worksheet function.
>One of the things I was told about this function is that it requires a
>specific key combination--
>ctrl+shift+enter, with the cell being active (the cursor needs to be active
>within the cell field, or the formula bar).
>Apparently this places two {} on the outsides of the equation, to do
>something to it that makes it work.
>And it's not enough to just place the {} on the equation manually. It
>specifically requires the keystroke combination mentioned above.
>
>My question---
>Within the workings of the wizard/userform that I'm making, can I do
>something to activate this set up so that once the wizard/form is finished,
>the formulas are actively working?
>
>I hope this is clear-- if not, please let me know.
>Thank you.

 
Reply With Quote
 
Steve
Guest
Posts: n/a
 
      6th Jan 2010
Ok, since you both replied with the same thing, I'll need to read more on
this topic.
So, .formulaArray does what I want......
Thank you.
Will let you know if I have any further questions on it.
Thanks-- both of you.

"Chip Pearson" wrote:

> Assign the final formula string with FormulaArray rather than Formula:
>
> Range("A1").FormulaArray = "your formula"
>
> Cordially,
> Chip Pearson
> Microsoft MVP 1998 - 2010
> Pearson Software Consulting, LLC
> www.cpearson.com
> [email on web site]
>
>
>
> On Wed, 6 Jan 2010 09:18:01 -0800, Steve
> <(E-Mail Removed)> wrote:
>
> >Morning all.
> >I'm making a user form to simplify the input of data for a complicated
> >worksheet function.
> >One of the things I was told about this function is that it requires a
> >specific key combination--
> >ctrl+shift+enter, with the cell being active (the cursor needs to be active
> >within the cell field, or the formula bar).
> >Apparently this places two {} on the outsides of the equation, to do
> >something to it that makes it work.
> >And it's not enough to just place the {} on the equation manually. It
> >specifically requires the keystroke combination mentioned above.
> >
> >My question---
> >Within the workings of the wizard/userform that I'm making, can I do
> >something to activate this set up so that once the wizard/form is finished,
> >the formulas are actively working?
> >
> >I hope this is clear-- if not, please let me know.
> >Thank you.

> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
activation failure, specific question re: activation work-around =?Utf-8?B?SmltMTAzMTQ0?= Windows Vista Installation 5 19th Sep 2007 03:58 PM
Activation Question PJF Windows XP General 11 13th Aug 2005 01:48 PM
XP Activation question ldone Windows XP General 5 12th Feb 2005 02:00 AM
XP Activation question Ethan Windows XP Help 4 11th Oct 2004 03:42 PM
Activation Question Chris Windows XP Basics 1 5th Nov 2003 02:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:30 PM.