Troy Harrington
New Member
Members
Excel
Word
Outlook
Xtreme Pivot Tables
Power Query
Excel for Decision Making
Dashboards
Financial Modelling
Excel
Word
Outlook
Xtreme Pivot Tables
Power Query
Excel for Decision Making
Dashboards
Financial Modelling
Forum Posts: 2
Member Since:
September 19, 2015
September 19, 2015
Offline
Great news...found the answer...this works: ActiveCell.FormulaR1C1 = "=""01/01/""&YEAR(TODAY())"
How do you get a formula to paste when using Macro's? I need to insert the formula ="01/01/"&YEAR(TODAY()) into B15 using a macro. Any help would be great!
Need:
Range("B15").Select
ActiveCell.FormulaR1C1 = "="01/01/"&YEAR(TODAY())"
Current:
Sheets("VOI Calculations for Primary").Select
Range("B9").Select
ActiveCell.FormulaR1C1 = "*Enter current period Social Security*"
Range("B10").Select
ActiveCell.FormulaR1C1 = "*Enter current period Medicare*"
Range("B15").Select
ActiveCell.FormulaR1C1 = "01/01/2018"
SunnyKow
Puchong, Malaysia
VIP
Members
Trusted Members
Trusted Members
Forum Posts: 1432
Member Since:
June 25, 2016
June 25, 2016
Offline
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online:
Guest(s) 8
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Catalin Bombea: 1939
SunnyKow: 1432
Anders Sehlstedt: 918
Purfleet: 415
Frans Visser: 349
Hans Hallebeek: 332
David_Ng: 306
lea cohen: 248
Jessica Stewart: 219
A.Maurizio: 216
Newest Members:
Crystal Harris
Amaan Abdi
Sarah Yelland
Ahsan AYUB
Daniel Neilson
Joy Nicholes
Earl Hanlon
Paulo Pinto
Tavonga Machigere
Marc Poulopoulos
Forum Stats:
Groups: 3
Forums: 25
Topics: 7058
Posts: 30933
Member Stats:
Guest Posters: 49
Members: 34430
Moderators: 2
Admins: 3
Administrators: Mynda Treacy, Philip Treacy, Jessica
Moderators: Velouria, Riny van Eekelen
© Simple:Press —