LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Junior Member
 
Posts: 3
Default

Quote:
Originally Posted by joeu2004[_2_] View Post
"Spint" wrote:
when ever i type Cos in VBA editor , as soon as i hit
enter Cos is changing to COS.
I actually tried to create a function named COS [...].
But i deleted, since then whenever i type Cos it is
changing to COS.


Right, that was my experience when I tested this. Simply creating any
variable named COS, then deleting it causes VBA to remember that Cos was
once written COS. And AFAIK, nothing will change that except....

Replace COS with myCos (any capitalization will do) throughout the module,
export it, and remove it. Then save and close the workbook.

Reopen the workbook, import the module, and replace myCos with Cos. Save
the workbook.

Note: I tried this with only one module. You might need to experiment
further if you have multiple modules. Worst-case scenario: you might need
to export and remove every module.
Thank you joeu2004 for your suggestion.

I actually removed all the modules and copied the code.
i was having very less modules, so less pain.
 
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
Is there a Function or Macro for This? Marilyn Excel Discussion (Misc queries) 6 November 6th 07 03:21 AM
Sub Macro vrs Function Macro Auto Start Pat Excel Discussion (Misc queries) 7 June 6th 07 09:53 PM
macro or function? CMD Excel Discussion (Misc queries) 0 October 4th 06 02:00 PM
how to count/sum by function/macro to get the number of record to do copy/paste in macro tango Excel Programming 1 October 15th 04 01:16 PM
Function or macro help Mark[_45_] Excel Programming 2 June 24th 04 03:35 AM


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