I need to change certain rows in a column in excel based on the value in another column. Can someone give me some VB script help on doing that.
IE IF A1=1 then B1=2
Thanks
Nique
VB Script help for Changing cells in Excel
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
The easiest way to do this is actually to use DDE with DDERequest and DDEPoke rather than with VBScrip. There are examples on these forums showing both DDE and VBScript methods for manipulating Excel data. If you search you will find them. Click on search link above and try following queries:
DDERequest Excel
excel.application vbstart
DDERequest Excel
excel.application vbstart
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?