Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Macro to Insert Changes the Formula

Because by using the .FormulaR1C1 property, you've told VBA that the
range references will be of R1C1 form, not A1 form.

You can either use .Formula, or you can modify the ranges to R1C1

In article
,
Dow wrote:

Why does it convert the range to F:(F)? And how can I fix it?

  #2   Report Post  
Posted to microsoft.public.excel.programming
Dow Dow is offline
external usenet poster
 
Posts: 31
Default Macro to Insert Changes the Formula

I knew it would be something obvious. I feel like an idiot now.

Thank you very much for your help.



On Feb 6, 9:07*am, JE McGimpsey wrote:
Because by using the .FormulaR1C1 property, you've told VBA that the
range references will be of R1C1 form, not A1 form.

You can either use .Formula, or you can modify the ranges to R1C1

In article
,

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
INsert Formula via Macro franciz Excel Programming 2 September 3rd 08 07:49 PM
How do you insert a macro into a formula? Obe Excel Discussion (Misc queries) 7 November 13th 06 01:15 PM
Insert a Formula with a Macro Ed Excel Discussion (Misc queries) 2 October 22nd 06 11:37 PM
Macro to insert formula nobbyknownowt Excel Worksheet Functions 3 June 28th 06 05:16 PM
HOW DO YOU INSERT A MACRO INTO A FORMULA blopreste3180 Excel Worksheet Functions 6 December 21st 05 08:41 PM


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