Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default application.sendkeys shift+ctrl+enter

hi all,
does anyone know hoe to translate it for use for the function sendkey
in excel?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default application.sendkeys shift+ctrl+enter

I would avoid SendKeys at all costs. If you need to array-enter a
formula from VBA, use the FormulaArray property. E.g.,

Range("A1").FormulaArray = "=SUM(B1:B10)"


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



wrote in message
ups.com...
hi all,
does anyone know hoe to translate it for use for the function
sendkey
in excel?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default application.sendkeys shift+ctrl+enter

yes,i know but my problem is that the formulaarray doesnt accept more
the 255 characters and my formulaarray is passing thats why,im first
using usual formula and then call sendkey,this is how i can bypass this
problematic issue
Chip Pearson wrote:
I would avoid SendKeys at all costs. If you need to array-enter a
formula from VBA, use the FormulaArray property. E.g.,

Range("A1").FormulaArray = "=SUM(B1:B10)"


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



wrote in message
ups.com...
hi all,
does anyone know hoe to translate it for use for the function
sendkey
in excel?


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default application.sendkeys shift+ctrl+enter

Here's a solution:
http://www.dailydoseofexcel.com/arch...rmulas-in-vba/

NickHK

wrote in message
ups.com...
yes,i know but my problem is that the formulaarray doesnt accept more
the 255 characters and my formulaarray is passing thats why,im first
using usual formula and then call sendkey,this is how i can bypass this
problematic issue
Chip Pearson wrote:
I would avoid SendKeys at all costs. If you need to array-enter a
formula from VBA, use the FormulaArray property. E.g.,

Range("A1").FormulaArray = "=SUM(B1:B10)"


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



wrote in message
ups.com...
hi all,
does anyone know hoe to translate it for use for the function
sendkey
in excel?




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
Ctrl+shift+enter [email protected] Excel Worksheet Functions 9 March 26th 09 11:46 AM
What is Ctrl + Shift + Enter ? lawson Excel Discussion (Misc queries) 6 June 26th 07 08:17 PM
What does Ctrl+Shift+Enter do? How does it differ from Enter? George Furnell[_2_] Excel Programming 2 January 16th 06 06:43 AM
What does hitting Ctrl + Shift + Enter to enter a formula do??? Help a n00b out. qwopzxnm Excel Worksheet Functions 2 October 20th 05 09:06 PM
ctrl/shift/enter thru VBA Jason Morin[_2_] Excel Programming 7 May 5th 04 05:20 PM


All times are GMT +1. The time now is 03:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"