Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Getting a Macro from Word to Work in Excel

I would like to get this macro from MSword to work in excel. I am trying to
get excel to insert a special character while typing in a cell and keep the
curser active for the next letter. For example if I typed the word "WORD" and
I want excel to automatically insert an O, I would type W(shortcutkey for
macro function) RD
Any ideas?

I have this one for Word
Sub Epsilon()
'
' Epsilon Macro
' Macro recorded 10/1/2008 by
'
Selection.InsertSymbol Font:="Times New Roman", CharacterNumber:=949, _
Unicode:=True
End Sub
Sub ReversedC()
'
' ReversedC Macro
' Macro recorded 10/1/2008 by
'
Selection.InsertSymbol Font:="Times New Roman", CharacterNumber:=-343, _
Unicode:=True
End Sub
Sub TheLthing()
'
' TheLthing Macro
' Macro recorded 10/1/2008 by
'
Selection.InsertSymbol Font:="Times New Roman", CharacterNumber:=1512, _
Unicode:=True
End Sub

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 158
Default Getting a Macro from Word to Work in Excel

Functions/Macros cannot be executed while a cell is being edited.

The following discussion covered a similar request, you should be able
to modify the solutions to suit.

http://groups.google.com/group/micro...9b304970308a82


On Oct 1, 1:04*pm, EmmieLou
wrote:
I would like to get this macro from MSword to work in excel. *I am trying to
get excel to insert a special character while typing in a cell and keep the
curser active for the next letter. For example if I typed the word "WORD" and
I want excel to automatically insert an O, I would type W(shortcutkey for
macro function) RD
Any ideas?

I have this one for Word
Sub Epsilon()
'
' Epsilon Macro
' Macro recorded 10/1/2008 by
'
* * Selection.InsertSymbol Font:="Times New Roman", CharacterNumber:=949, _
* * * * Unicode:=True
End Sub
Sub ReversedC()
'
' ReversedC Macro
' Macro recorded 10/1/2008 by
'
* * Selection.InsertSymbol Font:="Times New Roman", CharacterNumber:=-343, _
* * * * Unicode:=True
End Sub
Sub TheLthing()
'
' TheLthing Macro
' Macro recorded 10/1/2008 by
'
* * Selection.InsertSymbol Font:="Times New Roman", CharacterNumber:=1512, _
* * * * Unicode:=True
End Sub


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Getting a Macro from Word to Work in Excel

Thanks!!!

" wrote:

Functions/Macros cannot be executed while a cell is being edited.

The following discussion covered a similar request, you should be able
to modify the solutions to suit.

http://groups.google.com/group/micro...9b304970308a82


On Oct 1, 1:04 pm, EmmieLou
wrote:
I would like to get this macro from MSword to work in excel. I am trying to
get excel to insert a special character while typing in a cell and keep the
curser active for the next letter. For example if I typed the word "WORD" and
I want excel to automatically insert an O, I would type W(shortcutkey for
macro function) RD
Any ideas?

I have this one for Word
Sub Epsilon()
'
' Epsilon Macro
' Macro recorded 10/1/2008 by
'
Selection.InsertSymbol Font:="Times New Roman", CharacterNumber:=949, _
Unicode:=True
End Sub
Sub ReversedC()
'
' ReversedC Macro
' Macro recorded 10/1/2008 by
'
Selection.InsertSymbol Font:="Times New Roman", CharacterNumber:=-343, _
Unicode:=True
End Sub
Sub TheLthing()
'
' TheLthing Macro
' Macro recorded 10/1/2008 by
'
Selection.InsertSymbol Font:="Times New Roman", CharacterNumber:=1512, _
Unicode:=True
End Sub



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
Can Excel work like Word? Rob Excel Discussion (Misc queries) 2 February 8th 07 11:48 PM
Getting Word to work with Excel [email protected] Excel Programming 3 June 7th 06 02:33 PM
Getting Word to work with Excel [email protected] Excel Programming 0 June 7th 06 01:17 PM
Which Excel and Word will work with Windows x64? x64 Excel Discussion (Misc queries) 1 November 10th 05 01:40 AM
Is there a 'WORK' menu in Excel ? (same as WORD) Andrew Wilson Excel Programming 1 May 13th 05 03:02 PM


All times are GMT +1. The time now is 09:47 PM.

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"