Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 03-01-2017, 09:08 PM
NoSparks NoSparks is offline deleting blanks and commas Windows 7 64bit deleting blanks and commas Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default

Quote:
The whole program works good as it stands... but as it stands I return data to sheet 1 address "A7" thru "Z7" every time from sheet 2 row "A3" thru "Z3 ". What I want to do is copy data from sheet 2 (row "A3" thru "Z3 ") to an inserted row above the original copied row on sheet 1....and have the inserted row be the active row.
I suspect you get the original row to copy by referencing the active cell and want to do the same to copy back to sheet1.
You're needing to test things to see what happens.

Open a new workbook
Make A1 to A5, 1 thru 5
Select A3 to make it the active cell
Alt+F11 to bring up the VB environment
Ctrl+g to bring up the Immediate window
type in
rows(3).insert shift:=xldown
hit Enter..... is A3 not still the active cell and on the inserted row ?

The active cell can be used to determine the copy, insert and paste.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
pivot not showing number format with commas olybobo Excel 1 05-05-2016 05:09 PM
deleting blanks and commas Counting Blanks in 1 Column and Non-Blanks in Another dogwood705 Excel 4 02-07-2015 08:45 AM
Commas within fields in .csv files gar Excel 1 01-29-2015 09:24 PM
deleting blanks and commas How to use mid or left functions to seperate city,st,zip with no commas sinaranje Excel 4 11-11-2014 10:52 PM
deleting blanks and commas No inverted commas in word 2013. tonycrossley Word 3 01-27-2014 04:55 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:36 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