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: 1
Default Date change macro between worksheets

I am trying to change the date on a newly created worksheet by adding t
a value contained in another open worksheet.

I keep having subscript errors because I don't know how to switc
between worksheets.

Here is an example of code:

Worksheets(BackupFileName).Range("B4").Value
Worksheets(NewFileName).Range("B4").Value + 1

BackupFileName and NewFileName are both strings, can someone help m
reference them in my code?

Thank

--
Message posted from http://www.ExcelForum.com

 
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 Change Footer on all worksheets Karin Excel Discussion (Misc queries) 7 September 21st 08 04:58 PM
how do I get a macro to change a cell in multiple worksheets? BB_XLNovice Excel Discussion (Misc queries) 1 April 27th 07 07:04 PM
Date Change Macro Eschroeter Excel Worksheet Functions 2 February 15th 07 02:15 PM
Macro to change worksheets in the same workbook James C Excel Discussion (Misc queries) 2 October 19th 05 08:04 PM
Macro to perform mass header change on 100 worksheets Diana[_4_] Excel Programming 2 August 6th 03 11:57 PM


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