Make a split in the middle of a worksheet - excel

I am wanting to add a split vertically at Column I, basically splitting the worksheet into 2 halves. I want to be able to scroll up and down on the left half while the right half doesn't move and then move over to the right half and scroll up and down while the left half doesn't move.
I have tried "Split" but it doesn't work how I would like.

Select View > New Window.
Then do Win+LeftArrow on window1, and Win+RightArrow on window2.
Tada..
Hope it solves. ( :

Related

Using pygame and font.render, how do I make sure the text doesn't go across a certain boundary but instead move down?

tutorialText = tutorialFont.render("""A sliding puzzle is a type of game where a player must
rearrange a set of pieces to complete an image by sliding the pieces into the empty space.
This game is a variation of a sliding puzzle, where you can click near the blank spot or use the
arrow keys to move blocks around. To solve the game, you must rearrange the letters to form words.
There are numbers at the bottom to guide you. To have solved a game, starting from the topmost
left block, the number will be 1, and reading from left to right the numbers will go in order go
all the way to the last column before going to the next row.
The blank block will be the bottom most right block.""", True, (255,255,255), (196, 164, 132)).
I have a lot of text, I don't want it to go over 200 pixels away from the starting position, which is (0,100), so no over (200,100), but instead go down.
I have tried searching online, but I haven't found anything yet.

How to combine to shapes into one? Sketch

I have just installed sketch and I am trying to create a circle with a tick sign inside.
The issue is that whenever I use the Union option to merge the circle and tick sign the tick sign is hidden. Here are the steps.
Insert -> Shape -> Oval
Insert -> Vector
I draw the tick sign
Select all layers specified above and click on union.
Tick sign is no longer shown inside the circle.
You can select both and create a symbol. Then export the symbol. You don't need union for this since you don't have any of the two shapes protruding outside the other.
The union creates a newer shape with the outer boundaries of the elements. In your case, the check mark is inside the circle and the result is just the circle. The right operation would be:
1 convert the check mark into an outline (Shift + Cmd + O)
2 select the circle and the checkmark
3 use the option subtract so the new shape would be the circle minus the checkmark.
You can just Group the two layers in step 4, rather than Union. Wouldn't that accomplish what you're looking to do?

How to quickly select zone from all lines vertically in vim?

I want to select all the columns id="" in all lines.
1.
to move cursor on i in the first line,
and press ctrlv,move right arror key to select id="".
to press 8j to select all the zone vertically.
There is a disadvantage for this method that to count lines number to write before j.
If to press G directly,it display as below.
How to quickly select zone from all lines vertically in vim?
You might be looking for a setting named 'nosol'.
Try ':set nosol', then ctrl-v, G will behave the way you like it.
See more details startofline

How to increase set of data by increment of 1 in excel?

I have a set of data in excel, which varies in size, that I need to increment the final number by 1 each time I duplicate it. For example:
100065202-TR01
100065204-TR01
100018998-TR01
100065202-TR01
100065204-TR01
100018998-TR01
100065202-TR01
100065204-TR01
IB500-TR01
100005693-TR01
100065202-TR02
100065204-TR02
100018998-TR02
100065202-TR02
100065204-TR02
100018998-TR02
100065202-TR02
100065204-TR02
IB500-TR02
100005693-TR02
I need a way that I can increment TR01,TR02,TR03... up to TR20. The text before the -TR** will remain the same every time, I will simply be duplicating a (sometimes very large) block of data but want to change the final number each time.
If you select the data you need and then "pull" to the right by clicking on the bottom right corner, where the black square is, it is done automatically by Excel.
See result

How does one modify groups?

I have a hopefully easy to solve problem with my program. My program works 99% (haven't tried to break it yet haha) and I'm on to formatting for scaling to multiple platforms etc. There is one small part of my program that is particularly hard to position, however, as I have multiple objects which are not individually always visible. I wrote some example pseudocode for what I want to do, but I was unable to find a lot of helpful syntax to help me fulfill the pseudocode. The pseudocode is as follows (apologies because my pseudocode is probably not formally correct):
FOR each object
IF object required then
Add object to group
ELSE
Hide object
END IF
END FOR
CENTER group
After this I should have a completed minimum viable product for my program, so help is much appreciated. Cheers!
Use the showcommand to show objects and the hidecommand to hide objects. Don't forget to refer to your group: control x of group yor control x of meif the script is in the group itself.
examples:
show field 1 of group "Purple"
hide button "Click Me" of me
A group's rectangle can be a different size than the controls it contains, so I wouldn't bother adding or removing controls, I'd just resize the group itself to fit the visible ones. Then just center the group as needed.
If this is part of the hangman game you're developing, the left of the first visible field will become the left edge of the group and the right of the last visible field will be the right side of the group. The top and bottom remain the same.
Try this, using the correct field names for "firstfield" and "lastfield":
put the rect of grp "foo" into tRect
put the left of field "firstfield" into item 1 of tRect
put the right of field "lastField" into item 3 of tRect
set the rect of grp "foo" to tRect -- resizes group to fit visible controls
-- now center the group along the horizontal axis:
set the loc of grp "foo" to (item 1 of the loc of this cd),item 2 of the loc of grp "foo"
Here's some of the code for your pseudocode. (Note sure I'm capturing the nuances of what you're trying to do.)
repeat with x = 1 to the number of buttons in group "foo"
put the long id of button x of group "foo" into tBtn
if tObjectIsNeeded then
show tBtn
else
hide tBtn
end if
end repeat
# this centers the group horizontally and vertically
set the loc of group "foo" to the loc of this card
You can add an object to a group using the copy command:
copy button "bar" into group "foo"
You can use the delete command to delete a control from a card:
delete button "bar" from group "foo"
If you only want to align the group horizontally, modify its location property. The location property is a comma-separated list of two integers, the first one giving the number of pixels from the left edge of the card, and the second one giving the number of pixels from the top of the card. It would look something like this:
set the itemDelimiter to comma # comma is default, so this line might not be needed
put item 1 of the loc of this card into tXloc
put item 2 of the loc of group "foo" into tYloc
set the loc of group "foo" to tXloc,tYloc

Resources