Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default macro recording

I recorded a macro that copies a formula and special pastes (values). The
formula that is copied changes from week to week based on a number I manually
input.

The problem is when I record the macro to go through the pasted formulas (F2
and then F9 or even ctrl F9) it applies the formula of when I first recorded
the macro and not the formula that is pasted into the cell....

Can anyone help?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default macro recording

Maybe you could just modify your macro to work on the current selection.

With selection
.copy
.pastespecial paste:=xlpastevalues
end with



mvp4pres wrote:

I recorded a macro that copies a formula and special pastes (values). The
formula that is copied changes from week to week based on a number I manually
input.

The problem is when I record the macro to go through the pasted formulas (F2
and then F9 or even ctrl F9) it applies the formula of when I first recorded
the macro and not the formula that is pasted into the cell....

Can anyone help?


--

Dave Peterson
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
recording macro [email protected] Excel Discussion (Misc queries) 1 February 21st 08 06:19 PM
My excel macro recorder no longer shows up when recording macro jack Excel Discussion (Misc queries) 1 February 5th 07 09:31 PM
My excel macro recorder no longer shows up when recording macro jack Excel Discussion (Misc queries) 3 February 5th 07 08:22 PM
Recording a macro Ant[_3_] Excel Programming 2 August 14th 05 06:44 PM
Macro Recording Paul W Smith[_3_] Excel Programming 1 May 1st 04 02:27 AM


All times are GMT +1. The time now is 02:03 PM.

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"