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

Hi,
I'm writing some Access data into an Excel workbook. The
user wants some of the data to have a linebreak in a cell
(ALt-ENTER). I can simulate this using Sendkeys but
that's brutally slow and open to errors.

Any ideas how I can concatenate two pieces of text with
the equivalent of Alt-Enter between them? The code would
look something like:

objSheet.Cells(i, 5).Value = rst!Name & ????? & rst!
CashValue

Thanks for your help.

Garry
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Alternative to SendKeys

Thanks for the prompt replies guys! I can't believe it
was that simple. I was looking for something much more
complicated. D'OH!

Garry
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
SendKeys Mike Excel Programming 2 July 2nd 04 12:47 AM
How Can I Use SendKeys in MAC EXCEL? kenji4861 Excel Programming 1 October 29th 03 07:24 AM
Sendkeys GB[_3_] Excel Programming 0 September 16th 03 10:39 PM
SendKeys Ron de Bruin Excel Programming 3 August 25th 03 10:21 PM
sendkeys mark poole Excel Programming 0 July 11th 03 03:47 PM


All times are GMT +1. The time now is 11:00 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"