Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Excel Macro Question?

Hi everyone,

I am trying to create two macros, macro1 copies from cell b3 and pastes
it in F6, and macro2 copies from cell b4 and pastes it in F7. I also
create two buttons; one for each macro.

Then I assign button1 for macro1 and button2 for macro2. When I try
each macro, I realize that each is copying from cell b4! In other
words, both macros are copying from b4 and pasting same thing in cells
F6 and F7!

Why, and how can I fix that?

Thanks,
Mike

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default Excel Macro Question?

Please, show the code!
Regards,
Stefi


€žMike€ť ezt Ă*rta:

Hi everyone,

I am trying to create two macros, macro1 copies from cell b3 and pastes
it in F6, and macro2 copies from cell b4 and pastes it in F7. I also
create two buttons; one for each macro.

Then I assign button1 for macro1 and button2 for macro2. When I try
each macro, I realize that each is copying from cell b4! In other
words, both macros are copying from b4 and pasting same thing in cells
F6 and F7!

Why, and how can I fix that?

Thanks,
Mike


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Excel Macro Question?

I found the problem.......thanks Stefi


Stefi wrote:
Please, show the code!
Regards,
Stefi


,,Mike" ezt írta:

Hi everyone,

I am trying to create two macros, macro1 copies from cell b3 and pastes
it in F6, and macro2 copies from cell b4 and pastes it in F7. I also
create two buttons; one for each macro.

Then I assign button1 for macro1 and button2 for macro2. When I try
each macro, I realize that each is copying from cell b4! In other
words, both macros are copying from b4 and pasting same thing in cells
F6 and F7!

Why, and how can I fix that?

Thanks,
Mike



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
Excel 2007 Macro/VB Question DDE Question MadDog22 Excel Worksheet Functions 1 March 10th 10 01:47 AM
Excel Macro Question EA Excel Discussion (Misc queries) 1 February 27th 07 06:30 PM
Excel Macro Question? Mike Excel Discussion (Misc queries) 4 July 11th 06 01:50 PM
Excel Macro Question billrl34 Excel Worksheet Functions 1 December 19th 05 10:38 PM
Excel Macro Question Beth0202 Excel Programming 0 September 17th 04 02:46 AM


All times are GMT +1. The time now is 05:42 AM.

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"