
PaulFogel
Member
Members

Forum Posts: 81
Member Since:
July 7, 2016
July 7, 2016

Hello,
This should be very simple but I lack VBA experience. I recorded a macro and then looked at the code it produced but I thought there might be a simpler way to change what I have, below.
Here's a line of code in my workbook:
Range("B1").Value = Range("B2").Value
This copies B2's value to B1.
I want to change this to copy B2's formula only (non-VBA: PasteSpecial/Formula) to B1. How should I rewrite this line of code?
Paul
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Aron Samuels
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Hayden Hao
Angela chen
Sean Moore
John Chisholm
vexokeb sdfg
John Jack
Malcolm Toy
Ray-Yu Yang
George Shihadeh
Naomi Rumble
Forum Stats:
Groups: 3
Forums: 24
Topics: 6212
Posts: 27239
Member Stats:
Guest Posters: 49
Members: 31891
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —
