LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default put value into cell after return from macro

I have a macro that calls another. When the second macro finishes, control
returns to the first. However, after the return, statements like "Cells(1,1)
= 55" generate an error "Run time error '1004': Method 'Cells' of object
'_Global' failled". I added a 'Sheets("sheet name").Select, and
Sheets("sheet name").Activate but the error remained. Any suggestions will
be appreciated.
 
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
Macro to return to original cell Tonso Excel Discussion (Misc queries) 1 April 1st 10 02:48 AM
Macro-Return Blank Cell Sudipta Sen[_2_] Excel Discussion (Misc queries) 2 December 15th 09 12:16 PM
Macro - Return to starting cell sony654 Excel Worksheet Functions 8 February 26th 06 08:55 PM
Need VBA macro to return active cell address (R1C1) Chuck Hague[_2_] Excel Programming 2 August 2nd 05 08:21 PM
Macro to loop thru sheets & return to a1 cell CassieM Excel Programming 5 April 21st 05 04:35 PM


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