Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 



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:17 AM.


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