Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-18-2014, 11:06 AM
tigerdg tigerdg is offline Create Excel Macro to Insert Lozenge Symbol Windows 7 64bit Create Excel Macro to Insert Lozenge Symbol Office 2010 64bit
Novice
Create Excel Macro to Insert Lozenge Symbol
 
Join Date: Oct 2014
Posts: 15
tigerdg is on a distinguished road
Default Create Excel Macro to Insert Lozenge Symbol


I would like to create a macro in Excel that would insert a special character (lozenge) ◊. I go to the Developer page and select Record Macro. I give it a shortcut name (ctrl-D) then go through the steps to insert the symbol and end the recording. When I run it, though, it inserts a question mark. Is it not possible to do what I want? I've tried editing the macro after I've created it, but that won't let me insert the lozenge, either.

Any help will be appreciated. If it is indeed impossible to insert this symbol, are there other symbols I can insert? Thanks.
Reply With Quote
  #2  
Old 10-18-2014, 10:50 PM
jolivanes jolivanes is offline Create Excel Macro to Insert Lozenge Symbol Windows XP Create Excel Macro to Insert Lozenge Symbol Office 2007
Advanced Beginner
 
Join Date: Sep 2011
Posts: 93
jolivanes will become famous soon enough
Default

Try
Code:
Selection = ChrW(9674)
Reply With Quote
  #3  
Old 10-19-2014, 07:57 PM
tigerdg tigerdg is offline Create Excel Macro to Insert Lozenge Symbol Windows 7 64bit Create Excel Macro to Insert Lozenge Symbol Office 2010 64bit
Novice
Create Excel Macro to Insert Lozenge Symbol
 
Join Date: Oct 2014
Posts: 15
tigerdg is on a distinguished road
Default

Yes, this worked great. I had to unhide the PERSONAL.XLSB workbook in order to edit the macro to put in the code you gave me. (When I recorded it, it put in the question mark.) When I did that, that workbook would open every time I opened Excel, instead of a blank workbook. I didn't want that happending, so it took me awhile to figure out I had to re-hide the PERSONAL.XLSB workbook to keep that from happending. Thanks much!!
Reply With Quote
  #4  
Old 10-19-2014, 08:36 PM
jolivanes jolivanes is offline Create Excel Macro to Insert Lozenge Symbol Windows XP Create Excel Macro to Insert Lozenge Symbol Office 2007
Advanced Beginner
 
Join Date: Sep 2011
Posts: 93
jolivanes will become famous soon enough
Default

Glad it was what you wanted.
Good Luck
Reply With Quote
Reply

Tags
insert, macro, symbol



Similar Threads
Thread Thread Starter Forum Replies Last Post
Create Excel Macro to Insert Lozenge Symbol how to find and replace a symbol with another symbol wondermuse Word 5 10-09-2014 06:30 AM
Hyperlink in excel opens email...can a macro fill in and insert attachments? Tammypi Outlook 1 09-16-2014 10:36 PM
Trouble with insert symbol Glee Word 2 02-03-2013 12:08 AM
Create Excel Macro to Insert Lozenge Symbol create a new short cut key - insert and delete comment ubns Word 4 05-30-2012 12:04 AM
Insert Symbol Format Reversion (Arabic) abacinatee Word 1 10-24-2010 07:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:55 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft