LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Insert Character - Built-In Excel Commands

I see your point. I'll have to think more on that one. Thank you for
looking into it also.

On Wed, 07 Jul 2004 07:53:33 -0700, keepITcool
wrote:

Tonto..

problem is.. as soon as your are in Edit Mode you cant run macro's..

i've already tried to subclass the buttons... no go :(
i've already tried if it would work from menuitem iso button.. no go:(

i'll do some research... maybe you rephrase and start a new thread?
"How to exec a commandbar button while in edit mode"


see if i can hack into this..
(or add a page to the insert symbol dialog...

or maybe it's all very simple and we're just missing the obvious...

<grin... hmmmm


keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


Tonto wrote:

Thanks. I changed it slightly like below to more efficiently account
for the small Greek letters, which I added. I also changed to module
reference to basGreek instead of Module1, so that I can put it in its
owm module in the Personal Macro Workbook.

This is a great start. However, what the DoGreek sub does is to
change the value of the active cell to the selected Greek letter.
What I want to do is to emulate the functionality of the
= + - * / ^ ( ) : , % $
optional buttons which a user can place on a toolbar using
Tools|Customize|Commands. These buttons, clicked when actively
editing a cell, will insert the appropriate character into the cell at
the point of the cursor. I am hoping somebody can tell me what
commands these buttons invoke so that I can apply a modified version
to your code. It is excellent, thank you.



Sub DoGreek()

ActiveCell.Value = Application.CommandBars.ActionControl.Parameter
ActiveCell.Font.Name = "Courier New"

End Sub





 
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
how to insert a special character (arrow) in IF statement HA@Work Excel Worksheet Functions 4 April 4th 23 11:33 AM
how to insert tab character into the cell? kang New Users to Excel 2 July 16th 07 01:01 PM
Cannot insert extended ascii character Jeff Eckermann Excel Discussion (Misc queries) 1 October 7th 05 06:04 AM
Insert a special character before and after a word Venkatesh V Excel Discussion (Misc queries) 1 February 21st 05 02:07 PM
Insert a standard character in a cell of excel. JulieD Excel Worksheet Functions 5 November 19th 04 06:31 PM


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

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

About Us

"It's about Microsoft Excel"