Moving selected cell data in excel right or left without using cut + paste or, copy and paste. Move data with...
Hi I would like to know how to run a VBA or macro (or any other simpler way) to shift the values only of any current selection (varying from one cell in one row to multiple cells and selections across rows, columns) in excel to the right one column or left one column.
In short, I am preparing a forecast sheet for an architecture practice. It works in the same way as Microsoft project with rows of timelines shown over a number of monthly columns. when a project timeline shifts I need to be able to select a row of data, single or multiple cells and move the selected data only over by one column. It would be great to remove the data from the previous cell location also (cut and paste data only in essence)
- I can't use copy and paste as it duplicated the data
- select and drag on the edge of bounding box with the four star cursor takes the formulas, connections and formatting
See photo attached - imagine the two 50% allocations in Apr-19 and May-19 need to push out to begin in July. Simply, I want to select those cells and shift the data only - as if using the right arrow key (or left arrow key) to move the data only like tetris.
Look forwarding to hear your suggestions
Regards screenshot of resource table layout
microsoft-excel worksheet-function vba
add a comment |
Hi I would like to know how to run a VBA or macro (or any other simpler way) to shift the values only of any current selection (varying from one cell in one row to multiple cells and selections across rows, columns) in excel to the right one column or left one column.
In short, I am preparing a forecast sheet for an architecture practice. It works in the same way as Microsoft project with rows of timelines shown over a number of monthly columns. when a project timeline shifts I need to be able to select a row of data, single or multiple cells and move the selected data only over by one column. It would be great to remove the data from the previous cell location also (cut and paste data only in essence)
- I can't use copy and paste as it duplicated the data
- select and drag on the edge of bounding box with the four star cursor takes the formulas, connections and formatting
See photo attached - imagine the two 50% allocations in Apr-19 and May-19 need to push out to begin in July. Simply, I want to select those cells and shift the data only - as if using the right arrow key (or left arrow key) to move the data only like tetris.
Look forwarding to hear your suggestions
Regards screenshot of resource table layout
microsoft-excel worksheet-function vba
Have you tried inserting or deleting cells and shifting lright or left? (.Insert Shift:=xlToRight
and.Delete Shift:=xlToLeft
in VBA)?
– cybernetic.nomad
Jan 9 at 18:35
Thanks, I'm new to vba and macros I will try and use your suggestion
– AustinH
Jan 10 at 22:32
add a comment |
Hi I would like to know how to run a VBA or macro (or any other simpler way) to shift the values only of any current selection (varying from one cell in one row to multiple cells and selections across rows, columns) in excel to the right one column or left one column.
In short, I am preparing a forecast sheet for an architecture practice. It works in the same way as Microsoft project with rows of timelines shown over a number of monthly columns. when a project timeline shifts I need to be able to select a row of data, single or multiple cells and move the selected data only over by one column. It would be great to remove the data from the previous cell location also (cut and paste data only in essence)
- I can't use copy and paste as it duplicated the data
- select and drag on the edge of bounding box with the four star cursor takes the formulas, connections and formatting
See photo attached - imagine the two 50% allocations in Apr-19 and May-19 need to push out to begin in July. Simply, I want to select those cells and shift the data only - as if using the right arrow key (or left arrow key) to move the data only like tetris.
Look forwarding to hear your suggestions
Regards screenshot of resource table layout
microsoft-excel worksheet-function vba
Hi I would like to know how to run a VBA or macro (or any other simpler way) to shift the values only of any current selection (varying from one cell in one row to multiple cells and selections across rows, columns) in excel to the right one column or left one column.
In short, I am preparing a forecast sheet for an architecture practice. It works in the same way as Microsoft project with rows of timelines shown over a number of monthly columns. when a project timeline shifts I need to be able to select a row of data, single or multiple cells and move the selected data only over by one column. It would be great to remove the data from the previous cell location also (cut and paste data only in essence)
- I can't use copy and paste as it duplicated the data
- select and drag on the edge of bounding box with the four star cursor takes the formulas, connections and formatting
See photo attached - imagine the two 50% allocations in Apr-19 and May-19 need to push out to begin in July. Simply, I want to select those cells and shift the data only - as if using the right arrow key (or left arrow key) to move the data only like tetris.
Look forwarding to hear your suggestions
Regards screenshot of resource table layout
microsoft-excel worksheet-function vba
microsoft-excel worksheet-function vba
asked Jan 9 at 4:14
AustinHAustinH
1
1
Have you tried inserting or deleting cells and shifting lright or left? (.Insert Shift:=xlToRight
and.Delete Shift:=xlToLeft
in VBA)?
– cybernetic.nomad
Jan 9 at 18:35
Thanks, I'm new to vba and macros I will try and use your suggestion
– AustinH
Jan 10 at 22:32
add a comment |
Have you tried inserting or deleting cells and shifting lright or left? (.Insert Shift:=xlToRight
and.Delete Shift:=xlToLeft
in VBA)?
– cybernetic.nomad
Jan 9 at 18:35
Thanks, I'm new to vba and macros I will try and use your suggestion
– AustinH
Jan 10 at 22:32
Have you tried inserting or deleting cells and shifting lright or left? (
.Insert Shift:=xlToRight
and .Delete Shift:=xlToLeft
in VBA)?– cybernetic.nomad
Jan 9 at 18:35
Have you tried inserting or deleting cells and shifting lright or left? (
.Insert Shift:=xlToRight
and .Delete Shift:=xlToLeft
in VBA)?– cybernetic.nomad
Jan 9 at 18:35
Thanks, I'm new to vba and macros I will try and use your suggestion
– AustinH
Jan 10 at 22:32
Thanks, I'm new to vba and macros I will try and use your suggestion
– AustinH
Jan 10 at 22:32
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1392118%2fmoving-selected-cell-data-in-excel-right-or-left-without-using-cut-paste-or-c%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1392118%2fmoving-selected-cell-data-in-excel-right-or-left-without-using-cut-paste-or-c%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Have you tried inserting or deleting cells and shifting lright or left? (
.Insert Shift:=xlToRight
and.Delete Shift:=xlToLeft
in VBA)?– cybernetic.nomad
Jan 9 at 18:35
Thanks, I'm new to vba and macros I will try and use your suggestion
– AustinH
Jan 10 at 22:32