ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Copy number that changes daily with macro (https://www.excelbanter.com/excel-programming/328057-copy-number-changes-daily-macro.html)

RoyC

Copy number that changes daily with macro
 
I am attempting to write a macro that needs to copy a number (it changes
daily). However, when I review the macro it only uses the initial number that
I copied when I initially created the macro. Any suggestions

Tom Ogilvy

Copy number that changes daily with macro
 
Worksheets("Sheet2").Range("B9").value _
= Worksheets("Sheet1").Range("A1").Value

will put the value from A1 on Sheet1 in B9 of sheet2.

--
Regards,
Tom Ogilvy


"RoyC" wrote in message
...
I am attempting to write a macro that needs to copy a number (it changes
daily). However, when I review the macro it only uses the initial number

that
I copied when I initially created the macro. Any suggestions





All times are GMT +1. The time now is 10:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com