Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-18-2016, 03:42 AM
tarikov2006 tarikov2006 is offline how modify a macro code Windows 8 how modify a macro code Office 2010 32bit
Novice
how modify a macro code
 
Join Date: Nov 2016
Posts: 1
tarikov2006 is on a distinguished road
Default how modify a macro code

Hello .
Delighted to be among you. I am asking you please to help me to modify a macro code by keeping its function and add a line to open another sheet (sheet 2) in the same workbook.

the code :
Sub Veron()
Application.ScreenUpdating = False
y = WorksheetFunction.CountA(Worksheets(2).Range("A:A" )) + 2
For x = 1 To 800
Worksheets(2).Cells(y, x) = Worksheets(1).Cells(8, 9 + x)
Next x
ans = MsgBox("Nom Ajouté", vbOKOnly)
End Sub

the file


http://www.filedropper.com/doc1


thank you in advance
Reply With Quote
  #2  
Old 11-18-2016, 04:10 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline how modify a macro code Windows 7 64bit how modify a macro code Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Please do not cross post without adding links

read this to understand why and add links to ALL your cross posts
http://www.mrexcel.com/forum/excel-q...acro-code.html
http://www.excelforum.com/excel-prog...acro-code.html
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
how modify a macro code how can I modify this macro to work on another column besides "A" zhead Excel Programming 5 10-06-2015 05:04 PM
how modify a macro code VBA Macro code help get4hari Excel Programming 8 09-26-2015 10:33 PM
how modify a macro code Looking Again for Another Code/Macro rsrasc Word VBA 5 11-16-2014 05:47 AM
how modify a macro code Recovering/Removing a Password to Modify PPAM Code Steve_B PowerPoint 3 01-08-2014 01:06 PM
Modify vba code to print based on name in the InputBox OTPM Project 0 05-25-2011 02:03 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft